From 8d15eb970e7698dabd4fd052b9244d9af613cdb6 Mon Sep 17 00:00:00 2001 From: Erik Flodin Date: Wed, 30 Dec 2020 12:50:35 +0100 Subject: [PATCH] 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'" --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cb354cf..d07684e 100644 --- a/Makefile +++ b/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)"