add FILTER variable to Makefile to only run some tests
This commit is contained in:
parent
68eefcb60b
commit
21ba393c45
6
Makefile
6
Makefile
@ -5,9 +5,13 @@ all:
|
|||||||
clean:
|
clean:
|
||||||
./waf clean
|
./waf clean
|
||||||
|
|
||||||
|
ifneq ($(FILTER),)
|
||||||
|
GTEST_FILTER := --gtest_filter=$(FILTER)
|
||||||
|
endif
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test:
|
test:
|
||||||
./waf build --targets tests
|
./waf build --targets tests
|
||||||
./build/tests
|
./build/tests $(GTEST_FILTER)
|
||||||
@-rm -rf coverage
|
@-rm -rf coverage
|
||||||
-gcovinator -b build -s src
|
-gcovinator -b build -s src
|
||||||
|
Loading…
x
Reference in New Issue
Block a user