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
No known key found for this signature in database
GPG Key ID: 420A7C865EE3F85F
1 changed files with 1 additions and 1 deletions

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)"