From 2f84d6c43bcbc3af4eee1d79caaee97849a1d8a3 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 28 Mar 2018 14:58:35 +0200 Subject: [PATCH] coverage: fix invocation of gcovr --- tests/unit/Makefile.gcov.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/Makefile.gcov.inc b/tests/unit/Makefile.gcov.inc index d484ea846..b5ddb7431 100644 --- a/tests/unit/Makefile.gcov.inc +++ b/tests/unit/Makefile.gcov.inc @@ -26,7 +26,7 @@ COVERAGE_OBJS = $(LIB_OBJS) $(SRC_OBJS) GCDAS = $(COVERAGE_OBJS:.o=.gcda) GCNOS = $(COVERAGE_OBJS:.o=.gcno) -GCOVR_OPTS = --exclude ^include --root $(SRCDIR) --sort-percentage --print-summary +GCOVR_OPTS = --exclude $(SRCDIR)/include --root $(SRCDIR) --sort-percentage --print-summary coverage: $(BUILDDIR)/coverage/index.html $(BUILDDIR)/coverage.xml $(BUILDDIR)/coverage.txt @@ -53,4 +53,4 @@ clean-coverage: install-coverage: .INTERMEDIATE: $(addsuffix .gcdas,$(COVERAGE_TESTS)) -.PHONY: coverage gcda clean-coverage install-coverage \ No newline at end of file +.PHONY: coverage gcda clean-coverage install-coverage