split out task to build unit tests to "build_tests" task
This commit is contained in:
parent
116faff062
commit
0da4108c64
7
Makefile
7
Makefile
@ -9,9 +9,12 @@ ifneq ($(FILTER),)
|
|||||||
GTEST_FILTER := --gtest_filter=$(FILTER)
|
GTEST_FILTER := --gtest_filter=$(FILTER)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: build_tests
|
||||||
test:
|
build_tests:
|
||||||
./waf build --targets tests
|
./waf build --targets tests
|
||||||
|
|
||||||
|
.PHONY: test
|
||||||
|
test: build_tests
|
||||||
./build/tests $(GTEST_FILTER)
|
./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