Run only top-level recursive lcov
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 11 Aug 2017 03:33:47 +0000 (23:33 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 28 Sep 2017 12:50:02 +0000 (08:50 -0400)
commit504923a0ed5c75775196c8ed0cd59b15d55cd39b
treecabfd7f5ef254105438742e17f72ab1b5f3a93ea
parent7769fc000aa3b959d3e1c7d7c3c2555aba7722c3
Run only top-level recursive lcov

This is the way lcov was intended to be used.  It is much faster and
more robust and makes the makefiles simpler than running it in each
subdirectory.

The previous coding ran gcov before lcov, but that is useless because
lcov/geninfo call gcov internally and use that information.  Moreover,
this led to complications and failures during parallel make.  This
separates the two targets:  You either use "make coverage" to get
textual output from gcov or "make coverage-html" to get an HTML report
via lcov.  (Using both is still problematic because they write the same
output files.)

Reviewed-by: Michael Paquier <michael.paquier@gmail.com>
.gitignore
doc/src/sgml/regress.sgml
src/Makefile.global.in