[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 6/7] Makefile: explicitly pass $(SRC_PATH) to
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [Qemu-devel] [PATCH v2 6/7] Makefile: explicitly pass $(SRC_PATH) to gcovr |
Date: |
Tue, 12 Mar 2019 14:36:19 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 |
On 3/12/19 11:55 AM, Alex Bennée wrote:
> In an out-of-tree build gcovr can get quite confused about what is
> going on otherwise.
>
> Signed-off-by: Alex Bennée <address@hidden>
> ---
> Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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
>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
- [Qemu-devel] [PATCH v2 0/7] testing/next for softfreeze, Alex Bennée, 2019/03/12
- [Qemu-devel] [PATCH v2 6/7] Makefile: explicitly pass $(SRC_PATH) to gcovr, Alex Bennée, 2019/03/12
- Re: [Qemu-devel] [PATCH v2 6/7] Makefile: explicitly pass $(SRC_PATH) to gcovr,
Philippe Mathieu-Daudé <=
- [Qemu-devel] [PATCH v2 7/7] Makefile: explicitly pass $(BUILD_DIR) to gcovr, Alex Bennée, 2019/03/12
- [Qemu-devel] [PATCH v2 3/7] travis: Bump Xcode 10 image to 10.2, Alex Bennée, 2019/03/12
- [Qemu-devel] [PATCH v2 2/7] Revert "spapr: support memory unplug for qtest", Alex Bennée, 2019/03/12
- [Qemu-devel] [PATCH v2 1/7] spapr: Simulate CAS for qtest, Alex Bennée, 2019/03/12
- [Qemu-devel] [PATCH v2 5/7] .travis.yml: reduce the module builds to major architectures, Alex Bennée, 2019/03/12
- [Qemu-devel] [PATCH v2 4/7] .travis.yml: combine docs and tools build with out-of-tree, Alex Bennée, 2019/03/12
- Re: [Qemu-devel] [PATCH v2 0/7] testing/next for softfreeze, Greg Kurz, 2019/03/12