mirror of
				https://github.com/searxng/searxng.git
				synced 2025-11-04 03:27:06 -05:00 
			
		
		
		
	[fix] Makefile fix target 'test' & 'test.sh'
Renamed 'test.sh' to 'test.shell' seems to solve this issue on my ubu204::
    $ make test.sh
    ...
    TEST      robot
    ...
    INSTALL   gecko.driver
    ...
    Running 7 tests
    cat test.sh >test
    cat: test.sh: Datei oder Verzeichnis nicht gefunden
    make: *** [<eingebaut>: test] Fehler 1
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
			
			
This commit is contained in:
		
							parent
							
								
									c69fc20be2
								
							
						
					
					
						commit
						abd423cbf8
					
				
							
								
								
									
										8
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								Makefile
									
									
									
									
									
								
							@ -19,7 +19,7 @@ help:
 | 
			
		||||
	@echo 'clean          - clean up working tree'
 | 
			
		||||
	@echo 'search.checker - check search engines'
 | 
			
		||||
	@echo 'test           - run shell & CI tests'
 | 
			
		||||
	@echo 'test.sh        - test shell scripts'
 | 
			
		||||
	@echo 'test.shell     - test shell scripts'
 | 
			
		||||
	@echo 'ci.test        - run CI tests'
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -50,10 +50,10 @@ search.checker: install
 | 
			
		||||
search.checker.%: install
 | 
			
		||||
	$(Q)./manage pyenv.cmd searx-checker -v "$(subst _, ,$(patsubst search.checker.%,%,$@))"
 | 
			
		||||
 | 
			
		||||
PHONY += ci.test test test.sh
 | 
			
		||||
PHONY += test ci.test test.shell
 | 
			
		||||
ci.test: test.pep8 test.pylint test.unit test.robot
 | 
			
		||||
test: ci.test
 | 
			
		||||
test.sh:
 | 
			
		||||
test:    test.pep8 test.pylint test.unit test.robot test.shell
 | 
			
		||||
test.shell:
 | 
			
		||||
	$(Q)shellcheck -x -s bash \
 | 
			
		||||
		utils/brand.env \
 | 
			
		||||
		./manage \
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user