diff --git a/Makefile b/Makefile index 6f2cdf7..a64041b 100644 --- a/Makefile +++ b/Makefile @@ -5,9 +5,13 @@ all: clean: ./waf clean +ifneq ($(FILTER),) + GTEST_FILTER := --gtest_filter=$(FILTER) +endif + .PHONY: test test: ./waf build --targets tests - ./build/tests + ./build/tests $(GTEST_FILTER) @-rm -rf coverage -gcovinator -b build -s src