git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: cf5ba7c) | patch
Exclude flex-generated code from coverage testing
2017年8月11日 03:33:47 +0000 (23:33 -0400)
2017年10月16日 20:28:11 +0000 (16:28 -0400)
commit 421167362242ce1fb46d6d720798787e7cd65aad
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>
12 files changed:
contrib/cube/cubescan.l diff | blob | blame | history
contrib/seg/segscan.l diff | blob | blame | history
src/backend/bootstrap/bootscanner.l diff | blob | blame | history
src/backend/parser/scan.l diff | blob | blame | history
src/backend/replication/repl_scanner.l diff | blob | blame | history
src/backend/replication/syncrep_scanner.l diff | blob | blame | history
src/backend/utils/misc/guc-file.l diff | blob | blame | history
src/bin/pgbench/exprscan.l diff | blob | blame | history
src/bin/psql/psqlscanslash.l diff | blob | blame | history
src/fe_utils/psqlscan.l diff | blob | blame | history
src/interfaces/ecpg/preproc/pgc.l diff | blob | blame | history
src/test/isolation/specscanner.l diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /