From e570cf4f899408cbd8c414dccb7f12482f9ab9bd Mon Sep 17 00:00:00 2001 From: SET Date: Wed, 12 Aug 2020 13:04:24 -0300 Subject: [PATCH] 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. --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 8c54ef1c..3d321164 100644 --- a/Makefile +++ b/Makefile @@ -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