diff options
Diffstat (limited to 'Makefile.example')
-rw-r--r-- | Makefile.example | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.example b/Makefile.example index 0d49c0c70..f7f6b7b90 100644 --- a/Makefile.example +++ b/Makefile.example @@ -1,5 +1,6 @@ SHELL := /bin/bash +NB_PROCESS=8 # if a virtualenv is used put the full python path # e.g.: PYTHON=$$HOME/.virtualenvs/ishtar/bin/python PYTHON=python3 @@ -81,6 +82,10 @@ soft_test: clean ## launch tests without database regeneration cd $(project); $(PYTHON) manage.py test -k --tag gis $(apps) cd $(project); $(PYTHON) manage.py test -k --exclude-tag gis $(apps) +soft_test_multi: clean ## launch multi-process tests without database regeneration + cd $(project); $(PYTHON) manage.py test -k --parallel $(NB_PROCESS) --tag gis $(apps) + cd $(project); $(PYTHON) manage.py test -k --parallel $(NB_PROCESS) --exclude-tag gis $(apps) + soft_test_verbose: clean ## launch tests without database regeneration - verbose cd $(project); $(PYTHON) manage.py test -k --verbosity 2 $(apps) @@ -237,9 +242,12 @@ fixtures_files: archaeological_files.saisinetype \ archaeological_files.filetype \ archaeological_files.permittype \ + archaeological_files.job \ + archaeological_files.genericequipmentservicetype \ + archaeological_files.equipmentservicetype \ + archaeological_files.equipmentservicecost \ > '../archaeological_files/fixtures/initial_data-'$(default_data)'.json' - readme_md_to_rst: pandoc --from=markdown --to=rst --output=README.rst README.md |