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