From 0da4108c64c53d530348c0e761dc515059d8e251 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Mon, 23 Jan 2017 21:19:40 -0500 Subject: [PATCH] split out task to build unit tests to "build_tests" task --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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