New makefile targets to specifically run tests of single modules

This commit is contained in:
Dion Moult
2022-05-08 15:45:47 +10:00
parent f67941221e
commit 1f3ba3d09d
2 changed files with 14 additions and 4 deletions
+8
View File
@@ -534,11 +534,19 @@ test-core:
.PHONY: test-bim
test-bim:
ifndef MODULE
pytest test/bim
else
pytest test/bim -m "$(MODULE)" ./ --maxfail=1
endif
.PHONY: test-tool
test-tool:
ifndef MODULE
pytest test/tool
else
pytest test/tool/test_$(MODULE).py
endif
.PHONY: qa
qa: