diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-08-02 17:19:16 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-07-08 09:58:48 +0200 |
commit | a7cba4af4b972be7511bf93dfe12fb912bc7e88d (patch) | |
tree | 9e4f111ce19af56381aee5954d258323c4a4f61a /Makefile.example | |
parent | 66605d5a4b94217d482e4ad51742d9d59f738abb (diff) | |
download | Ishtar-a7cba4af4b972be7511bf93dfe12fb912bc7e88d.tar.bz2 Ishtar-a7cba4af4b972be7511bf93dfe12fb912bc7e88d.zip |
Preventive file: copy planned, add default cost - tests - fixtures
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 |