Thu, 04 Jan 2024 21:24:55 +0100
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 "$@"