diff --git a/Makefile b/Makefile index a64041b..fd4fd5b 100644 --- a/Makefile +++ b/Makefile @@ -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