diff options
Diffstat (limited to 'Makefile.example')
-rw-r--r-- | Makefile.example | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile.example b/Makefile.example index aba1818d3..aa49d27ec 100644 --- a/Makefile.example +++ b/Makefile.example @@ -123,21 +123,21 @@ test_verbose: clean ## launch tests with verbose cd $(project); $(PYTHON) manage.py test -v 2 $(apps) soft_test: clean ## launch tests without database regeneration - cd $(project); $(PYTHON) manage.py test -k --tag gis --exclude-tag ui --exclude-tag libreoffice $(apps) - cd $(project); $(PYTHON) manage.py test -k --exclude-tag gis --exclude-tag ui $(apps) + cd $(project); $(PYTHON) manage.py test --keep --tag gis --exclude-tag ui --exclude-tag libreoffice $(apps) + cd $(project); $(PYTHON) manage.py test --keep --exclude-tag gis --exclude-tag ui $(apps) soft_test_verbose: clean ## launch tests without database regeneration - verbose - cd $(project); $(PYTHON) manage.py test -k --verbosity 2 $(apps) + cd $(project); $(PYTHON) manage.py test --keep --verbosity 2 $(apps) soft_test_multi: clean ## launch multi-process tests without database regeneration - cd $(project); $(PYTHON) manage.py test -k --parallel $(NB_PROCESS) --exclude-tag libreoffice --exclude-tag ui --tag gis $(apps) - cd $(project); $(PYTHON) manage.py test -k --parallel $(NB_PROCESS) --exclude-tag libreoffice --exclude-tag ui --exclude-tag gis $(apps) + cd $(project); $(PYTHON) manage.py test --keep --parallel $(NB_PROCESS) --exclude-tag libreoffice --exclude-tag ui --tag gis $(apps) + cd $(project); $(PYTHON) manage.py test --keep --parallel $(NB_PROCESS) --exclude-tag libreoffice --exclude-tag ui --exclude-tag gis $(apps) test_ui: clean ## launch tests for UI cd $(project); $(PYTHON) manage.py test --tag ui $(apps) soft_test_ui: clean ## launch soft tests for UI - cd $(project); $(PYTHON) manage.py test -k --tag ui $(apps) + cd $(project); $(PYTHON) manage.py test --keep --tag ui $(apps) build_gitlab: clean collectstatic makemessages ## specific build for gitlab cd $(project); $(PYTHON) ./manage.py migrate @@ -146,7 +146,7 @@ test_gitlab: clean collectstatic makemessages ## specific test for gitlab cd $(project); $(PYTHON) manage.py test --exclude-tag no_ci --exclude-tag gis --exclude-tag ui --exclude-tag libreoffice $(apps) soft_test_gitlab: build_gitlab ## run test for gitlab - do not erase previous database - cd $(project); $(PYTHON) manage.py test -k --exclude-tag no_ci --exclude-tag gis --exclude-tag ui --exclude-tag libreoffice $(apps) + cd $(project); $(PYTHON) manage.py test --keep --exclude-tag no_ci --exclude-tag gis --exclude-tag ui --exclude-tag libreoffice $(apps) run_libreoffice: ## run libreoffice daemon for testing purpose /usr/bin/libreoffice --headless --accept="socket,host=127.0.0.1,port=8101;urp;" --nodefault --nofirststartwizard --nolockcheck --nologo --norestore --invisible --pidfile=/var/run/libreoffice.pid |