summaryrefslogtreecommitdiff
path: root/Makefile.example
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2021-08-02 17:19:16 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-08-02 17:24:05 +0200
commita4d00559bd8dad2605aaf7e38da873663e3bff0e (patch)
tree134b06750346dfe806fc73eb564104e70f0608d0 /Makefile.example
parent8cc2fa3f7df67daa316621e645ea0988732c5730 (diff)
downloadIshtar-a4d00559bd8dad2605aaf7e38da873663e3bff0e.tar.bz2
Ishtar-a4d00559bd8dad2605aaf7e38da873663e3bff0e.zip
Preventive file: copy planned, add default cost - tests - fixtures
Diffstat (limited to 'Makefile.example')
-rw-r--r--Makefile.example10
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