Makefile: include per-target build directories in coverage report
Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
30b3718bb9
commit
5eda6e42cc
4
Makefile
4
Makefile
@ -1009,7 +1009,9 @@ $(filter %.1 %.7 %.8,$(DOCS)): scripts/texi2pod.pl
|
|||||||
%/coverage-report.html:
|
%/coverage-report.html:
|
||||||
@mkdir -p $*
|
@mkdir -p $*
|
||||||
$(call quiet-command,\
|
$(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 $@, \
|
-p --html --html-details -o $@, \
|
||||||
"GEN", "coverage-report.html")
|
"GEN", "coverage-report.html")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user