Browse Source

build: Generate a C code coverage text report on stdout

Print a text report to stdout, like with the Perl coverage.
Guillem Jover 10 years ago
parent
commit
25774c03fa
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Makefile.am

+ 1 - 0
Makefile.am

@@ -111,6 +111,7 @@ coverage: all
 	$(LCOV) $(LCOV_OPTS) -a dpkg_base.lcov -a dpkg_test.lcov \
 	  -o dpkg_merge.lcov
 	$(LCOV) $(LCOV_OPTS) -r dpkg_merge.lcov '/usr/include/*' -o dpkg.lcov
+	$(LCOV) -q -l dpkg.lcov
 	$(LCOV_GENHTML) -q --legend --title "dpkg C code coverage" \
 	  --html-prolog $(top_srcdir)/doc/lcov-prolog \
 	  --html-epilog $(top_srcdir)/doc/lcov-epilog \