split out task to build unit tests to "build_tests" task

This commit is contained in:
Josh Holtrop 2017-01-23 21:19:40 -05:00
parent 116faff062
commit 0da4108c64

View File

@ -9,9 +9,12 @@ ifneq ($(FILTER),)
GTEST_FILTER := --gtest_filter=$(FILTER)
endif
.PHONY: test
test:
.PHONY: build_tests
build_tests:
./waf build --targets tests
.PHONY: test
test: build_tests
./build/tests $(GTEST_FILTER)
@-rm -rf coverage
-gcovinator -b build -s src