From abdba2235df8e1bceea2ebe868ebfa468e744ecd Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Tue, 25 Aug 2015 10:24:49 -0700 Subject: build: Fix -o gcov option Also upload just pugixml.cpp.gcov to codecov to avoid issues the script has with old gcov. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6831882..e6b2b36 100644 --- a/Makefile +++ b/Makefile @@ -56,7 +56,7 @@ ifeq ($(config),coverage) test: $(EXECUTABLE) -@find $(BUILD) -name '*.gcda' -exec rm {} + ./$(EXECUTABLE) - @gcov -b -o=$(BUILD)/src pugixml.cpp.gcda | sed -e '/./{H;$!d;}' -e 'x;/pugixml.cpp/!d;' + @gcov -b -o $(BUILD)/src/ pugixml.cpp.gcda | sed -e '/./{H;$!d;}' -e 'x;/pugixml.cpp/!d;' @find . -name '*.gcov' -and -not -name 'pugixml.cpp.gcov' -exec rm {} + else test: $(EXECUTABLE) -- cgit v1.2.3