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 <alex.ben...@linaro.org>
> 
> ---
> 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é <berra...@redhat.com>



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 :|

Reply via email to