[COMMITTERS] pgsql: Run only top-level recursive lcov - Mailing list pgsql-committers

From Peter Eisentraut
Subject [COMMITTERS] pgsql: Run only top-level recursive lcov
Date
Msg-id E1dxYKO-0006JS-8h@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/504923a0ed5c75775196c8ed0cd59b15d55cd39b

Modified Files
--------------
.gitignore                |  1 +
doc/src/sgml/regress.sgml | 13 +++++++++++++
src/Makefile.global.in    | 28 ++++++++++++++++------------
3 files changed, 30 insertions(+), 12 deletions(-)


--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Add test for postmaster crash restarts.
Next
From: Alvaro Herrera
Date:
Subject: [COMMITTERS] pgsql: Fix freezing of a dead HOT-updated tuple