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 | ab48e1850c5a797d55515d0794f6efe8687a01d8 (patch) | |
tree | 9e4f111ce19af56381aee5954d258323c4a4f61a /Makefile.example | |
parent | 585f2a1e3e0576ce7fe0bf8efd973a9d419a7691 (diff) | |
download | Ishtar-ab48e1850c5a797d55515d0794f6efe8687a01d8.tar.bz2 Ishtar-ab48e1850c5a797d55515d0794f6efe8687a01d8.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 |