1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2026-03-02 03:49:29 +00:00

Don't pass -k to py.test when doing make test/test_foo.py

As py.test then complains about "Wrong expression passed to '-k'"
This commit is contained in:
Erik Flodin
2020-12-30 12:50:35 +01:00
parent 32cc51c391
commit 8d15eb970e

View File

@@ -83,7 +83,7 @@ usage:
# Make it possible to run make specifying a py.test test file
.PHONY: $(PYTESTS)
$(PYTESTS):
@$(MAKE) test testargs="-k $@ $(testargs)"
@$(MAKE) test testargs="$@ $(testargs)"
%.py:
@$(MAKE) test testargs="-k $@ $(testargs)"