]> Git Repo - qemu.git/commitdiff
Makefile: include per-target build directories in coverage report
authorAlex Bennée <[email protected]>
Tue, 30 Apr 2019 15:59:48 +0000 (16:59 +0100)
committerAlex Bennée <[email protected]>
Tue, 28 May 2019 09:28:51 +0000 (10:28 +0100)
Signed-off-by: Alex Bennée <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Makefile

index 733708748412cf833ec1454db26a1c84ed011028..f0be624f471a4ff5d408e8c065acfcca57d23dbe 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1009,7 +1009,9 @@ $(filter %.1 %.7 %.8,$(DOCS)): scripts/texi2pod.pl
 %/coverage-report.html:
        @mkdir -p $*
        $(call quiet-command,\
-               gcovr -r $(SRC_PATH) --object-directory $(BUILD_DIR) \
+               gcovr -r $(SRC_PATH) \
+               $(foreach t, $(TARGET_DIRS), --object-directory $(BUILD_DIR)/$(t)) \
+                --object-directory $(BUILD_DIR) \
                -p --html --html-details -o $@, \
                "GEN", "coverage-report.html")
 
This page took 0.027912 seconds and 4 git commands to generate.