aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2019-03-11 16:12:53 +0000
committerAlex Bennée <alex.bennee@linaro.org>2019-03-12 17:05:21 +0000
commit08a742c89c7d4fbed4ed7b81872c4cbecabe4ba4 (patch)
tree4b9381af3382455882901f6e812c1870f842fe62 /Makefile
parent2f6c2526282926b4e7ed2380eb8cfcaa1dd025bf (diff)
Makefile: explicitly pass $(SRC_PATH) to gcovr
In an out-of-tree build gcovr can get quite confused about what is going on otherwise. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6ccb8639b0..7202ac76dc 100644
--- a/Makefile
+++ b/Makefile
@@ -964,7 +964,7 @@ $(filter %.1 %.7 %.8,$(DOCS)): scripts/texi2pod.pl
%/coverage-report.html:
@mkdir -p $*
$(call quiet-command,\
- gcovr -p --html --html-details -o $@, \
+ gcovr -r $(SRC_PATH) -p --html --html-details -o $@, \
"GEN", "coverage-report.html")
.PHONY: coverage-report