Thu, 04 Jan 2024 21:24:55 +0100
improve output of coverage summary
src/Makefile | file | annotate | diff | comparison | revisions |
--- a/src/Makefile Thu Jan 04 21:05:32 2024 +0100 +++ b/src/Makefile Thu Jan 04 21:24:55 2024 +0100 @@ -38,7 +38,7 @@ mv *.gcov "$(build_dir)" %.c.gcov: %.c $(build_dir)/%.gcno - gcov -Ho "$(build_dir)" $< + @printf '%16s - %s\n' "$<" "`gcov -Ho "$(build_dir)" $< | grep --max-count=1 -i 'lines executed'`" $(build_dir)/%.gcno: test -f "$@"