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:
parent
32cc51c391
commit
8d15eb970e
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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)"
|
||||
|
||||
|
|
Loading…
Reference in a new issue