Added a target to quick test a group of pytests

Needs the pytest-xdist plug-in and is tuned for a 6 core CPU.
Ryzen 5 to be more specific.
This commit is contained in:
SET 2020-08-12 13:04:24 -03:00
parent 92cdf49c2d
commit e570cf4f89
1 changed files with 6 additions and 0 deletions

View File

@ -62,6 +62,12 @@ single_test:
@cat pp/*/error.txt
@rm -f tests/input_samples/bom.ini
single_tests:
rm -rf pp
# 12 threads, for a 6 core CPU w/HT. Almost 4 times faster for BoM tests.
-$(PYTEST) -n 12 --log-cli-level debug -k "$(SINGLE_TEST)" --test_dir pp
@rm -f tests/input_samples/bom.ini
deb_clean:
fakeroot debian/rules clean