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:
Enrico Faulhaber
2018-02-08 08:50:11 +01:00
parent 3ae82fb352
commit b9324876b3

View File

@ -19,7 +19,11 @@ install: build
python setup.py install
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:
python $(shell which pytest) -v test -s