[COMMITTERS] pgsql: Exclude flex-generated code from coverage testing - Mailing list pgsql-committers

From Peter Eisentraut
Subject [COMMITTERS] pgsql: Exclude flex-generated code from coverage testing
Date
Msg-id E1e4CLW-0004jP-EE@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Exclude flex-generated code from coverage testing

Flex generates a lot of functions that are not actually used.  In order
to avoid coverage figures being ruined by that, mark up the part of the
.l files where the generated code appears by lcov exclusion markers.
That way, lcov will typically only reported on coverage for the .l file,
which is under our control, but not for the .c file.

Reviewed-by: Michael Paquier <michael.paquier@gmail.com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/421167362242ce1fb46d6d720798787e7cd65aad

Modified Files
--------------
contrib/cube/cubescan.l                   | 4 ++++
contrib/seg/segscan.l                     | 4 ++++
src/backend/bootstrap/bootscanner.l       | 3 +++
src/backend/parser/scan.l                 | 5 +++++
src/backend/replication/repl_scanner.l    | 3 +++
src/backend/replication/syncrep_scanner.l | 3 +++
src/backend/utils/misc/guc-file.l         | 4 +++-
src/bin/pgbench/exprscan.l                | 4 ++++
src/bin/psql/psqlscanslash.l              | 4 ++++
src/fe_utils/psqlscan.l                   | 4 ++++
src/interfaces/ecpg/preproc/pgc.l         | 6 ++++++
src/test/isolation/specscanner.l          | 4 ++++
12 files changed, 47 insertions(+), 1 deletion(-)


--
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: [COMMITTERS] pgsql: Treat aggregate direct arguments as per-agg data not per-transd
Next
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Fix incorrect handling of CTEs and ENRs as DML targetrelations.