improve output of coverage summary

Thu, 04 Jan 2024 21:24:55 +0100

author
Mike Becker <universe@uap-core.de>
date
Thu, 04 Jan 2024 21:24:55 +0100
changeset 794
23c6e3e846a8
parent 793
db1c8dfe403a
child 795
00ba1bfa4ab4

improve output of coverage summary

src/Makefile file | annotate | diff | comparison | revisions
     1.1 --- a/src/Makefile	Thu Jan 04 21:05:32 2024 +0100
     1.2 +++ b/src/Makefile	Thu Jan 04 21:24:55 2024 +0100
     1.3 @@ -38,7 +38,7 @@
     1.4  	mv *.gcov "$(build_dir)"
     1.5  
     1.6  %.c.gcov: %.c $(build_dir)/%.gcno
     1.7 -	gcov -Ho "$(build_dir)" $<
     1.8 +	@printf '%16s - %s\n' "$<" "`gcov -Ho "$(build_dir)" $< | grep --max-count=1 -i 'lines executed'`"
     1.9  
    1.10  $(build_dir)/%.gcno:
    1.11  	test -f "$@"

mercurial