forked from zaclys/searxng
		
	Makefile: add test.pep8 test.unit test.robot (from manage.sh)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
		
							parent
							
								
									b55a8004ed
								
							
						
					
					
						commit
						7e572a2453
					
				
					 1 changed files with 18 additions and 0 deletions
				
			
		
							
								
								
									
										18
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										18
									
								
								Makefile
									
										
									
									
									
								
							|  | @ -10,6 +10,7 @@ all: clean install | ||||||
| 
 | 
 | ||||||
| PHONY += help | PHONY += help | ||||||
| help: | help: | ||||||
|  | 	@echo  '  test      - run developer tests' | ||||||
| 	@echo  '  run       - run developer instance' | 	@echo  '  run       - run developer instance' | ||||||
| 	@echo  '  install   - developer install (./local)' | 	@echo  '  install   - developer install (./local)' | ||||||
| 	@echo  '  uninstall - uninstall (./local)' | 	@echo  '  uninstall - uninstall (./local)' | ||||||
|  | @ -39,4 +40,21 @@ run:  pyenvinstall | ||||||
| 	) & | 	) & | ||||||
| 	$(PY_ENV)/bin/python ./searx/webapp.py | 	$(PY_ENV)/bin/python ./searx/webapp.py | ||||||
| 
 | 
 | ||||||
|  | # test
 | ||||||
|  | # ----
 | ||||||
|  | 
 | ||||||
|  | PHONY += test test.pep8 test.unit test.robot | ||||||
|  | 
 | ||||||
|  | test: test.pep8 test.unit test.robot | ||||||
|  | 
 | ||||||
|  | test.pep8: pyenvinstall | ||||||
|  | 	$(PY_ENV_ACT); ./manage.sh pep8_check | ||||||
|  | 
 | ||||||
|  | test.unit: pyenvinstall | ||||||
|  | 	$(PY_ENV_ACT); ./manage.sh unit_tests | ||||||
|  | 
 | ||||||
|  | test.robot: pyenvinstall | ||||||
|  | 	$(PY_ENV_ACT); ./manage.sh install_geckodriver | ||||||
|  | 	$(PY_ENV_ACT); ./manage.sh robot_tests | ||||||
|  | 
 | ||||||
| .PHONY: $(PHONY) | .PHONY: $(PHONY) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Markus Heiser
						Markus Heiser