diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2019-11-28 20:05:29 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2019-11-28 20:05:29 +0100 |
commit | 7e572a2453d18bdb3f44b65cbc1441004c4faa5f (patch) | |
tree | b68b8e3f6db05ed0c036e9f1dd8f4a8fec804289 /Makefile | |
parent | b55a8004ed4c3d11d0d820480eca4769665ef38b (diff) | |
download | searxng-7e572a2453d18bdb3f44b65cbc1441004c4faa5f.tar.gz searxng-7e572a2453d18bdb3f44b65cbc1441004c4faa5f.zip |
Makefile: add test.pep8 test.unit test.robot (from manage.sh)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -10,6 +10,7 @@ all: clean install PHONY += help help: + @echo ' test - run developer tests' @echo ' run - run developer instance' @echo ' install - developer install (./local)' @echo ' uninstall - uninstall (./local)' @@ -39,4 +40,21 @@ run: pyenvinstall ) & $(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) |