[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v1 06/10] travis: add gcovr summary for GCOV bui
From: |
Daniel P . Berrangé |
Subject: |
Re: [Qemu-devel] [PATCH v1 06/10] travis: add gcovr summary for GCOV build |
Date: |
Fri, 29 Jun 2018 12:45:47 +0100 |
User-agent: |
Mutt/1.10.0 (2018-05-17) |
On Mon, Jun 25, 2018 at 12:19:31PM +0100, Alex Bennée wrote:
> This gives a more useful summary, sorted by descending % coverage,
> after the tests have run. The final numbers will give an idea if our
> coverage is getting better or worse.
>
> To keep the width sane we need to post process the file that the old
> gcovr tool generates. This is done with a mix of sed, awk and column
> in the scripts/coverage-summary.sh script.
>
> As quite a lot of lines don't get covered at all we filter out all the
> 0% lines. If the file doesn't appear it is not being exercised.
>
> Signed-off-by: Alex Bennée <address@hidden>
>
> ---
> v2
> - pushed finagling into scripts/coverage-summary.sh
> - dropped r-b as a big change
> ---
> .travis.yml | 3 +++
> scripts/coverage-summary.sh | 27 +++++++++++++++++++++++++++
> 2 files changed, 30 insertions(+)
> create mode 100755 scripts/coverage-summary.sh
Reviewed-by: Daniel P. Berrangé <address@hidden>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- [Qemu-devel] [PATCH v1 00/10] Travis updates and code coverage tweaks, Alex Bennée, 2018/06/25
- [Qemu-devel] [PATCH v1 01/10] travis: do not waste time cloning unused submodules, Alex Bennée, 2018/06/25
- [Qemu-devel] [PATCH v1 03/10] build-system: remove per-test GCOV reporting, Alex Bennée, 2018/06/25
- [Qemu-devel] [PATCH v1 04/10] .gitignore: add .gcov files, Alex Bennée, 2018/06/25
- [Qemu-devel] [PATCH v1 02/10] travis: test out-of-tree builds, Alex Bennée, 2018/06/25
- [Qemu-devel] [PATCH v1 06/10] travis: add gcovr summary for GCOV build, Alex Bennée, 2018/06/25
- Re: [Qemu-devel] [PATCH v1 06/10] travis: add gcovr summary for GCOV build,
Daniel P . Berrangé <=
- [Qemu-devel] [PATCH v1 05/10] docker: add gcovr to travis image, Alex Bennée, 2018/06/25
- [Qemu-devel] [PATCH v1 08/10] build-system: add coverage-report target, Alex Bennée, 2018/06/25
- [Qemu-devel] [PATCH v1 07/10] build-system: add clean-coverage target, Alex Bennée, 2018/06/25
- [Qemu-devel] [PATCH v1 10/10] linux-user: add gcov support to preexit_cleanup, Alex Bennée, 2018/06/25