]> Git Repo - qemu.git/commitdiff
Makefile: explicitly pass $(BUILD_DIR) to gcovr
authorAlex Bennée <[email protected]>
Tue, 12 Mar 2019 09:18:31 +0000 (09:18 +0000)
committerAlex Bennée <[email protected]>
Tue, 12 Mar 2019 17:05:21 +0000 (17:05 +0000)
Best to be explicit about where to find things.

Signed-off-by: Alex Bennée <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Makefile

index 7202ac76dccdb7ccfd80b03ccec065eb3418364e..248fe9db7be23ebc9afa75dd03dd3a0f55e19b43 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -964,7 +964,8 @@ $(filter %.1 %.7 %.8,$(DOCS)): scripts/texi2pod.pl
 %/coverage-report.html:
        @mkdir -p $*
        $(call quiet-command,\
-               gcovr -r $(SRC_PATH) -p --html --html-details -o $@, \
+               gcovr -r $(SRC_PATH) --object-directory $(BUILD_PATH) \
+               -p --html --html-details -o $@, \
                "GEN", "coverage-report.html")
 
 .PHONY: coverage-report
This page took 0.022427 seconds and 4 git commands to generate.