Makefile: allow specifying only a subset of the tests to run
Change-Id: I4502789e7bad322372f915051320d1d0d8b25fb3 Reviewed-on: https://forge.frm2.tum.de/review/17269 Reviewed-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de> Tested-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de> Tested-by: JenkinsCodeReview <bjoern_pedersen@frm2.tum.de>
This commit is contained in:
6
Makefile
6
Makefile
@ -19,7 +19,11 @@ install: build
|
|||||||
python setup.py install
|
python setup.py install
|
||||||
|
|
||||||
test:
|
test:
|
||||||
python $(shell which pytest) -v test
|
ifdef T
|
||||||
|
python $(shell which pytest) -v test -l -k $(T)
|
||||||
|
else
|
||||||
|
python $(shell which pytest) -v test -l
|
||||||
|
endif
|
||||||
|
|
||||||
test-verbose:
|
test-verbose:
|
||||||
python $(shell which pytest) -v test -s
|
python $(shell which pytest) -v test -s
|
||||||
|
Reference in New Issue
Block a user