postgres.git / summary / log / commit / refs
commit 66fd86a6a3d2ac9772f977ec43af190ea3fe6ddb
Author: Peter Eisentraut <peter_e@gmx.net>
Date: Fri Aug 11 03:33:47 2017 +0000
Have lcov exclude external files
Call lcov with --no-external option to exclude external files (for
example, system headers with inline functions) from output.
Reviewed-by: Michael Paquier <michael.paquier@gmail.com>
src/Makefile.global.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
index f352ba20e20..2b22f0de299 100644
--- a/src/Makefile.global.in
+++ b/src/Makefile.global.in
@@ -896,7 +896,7 @@ coverage-html-stamp: lcov.info
all_gcda_files = $(shell find . -name '*.gcda' -print)
lcov.info: $(all_gcda_files)
- $(LCOV) -d . -c -o $@ $(LCOVFLAGS) --gcov-tool $(GCOV)
+ $(LCOV) -d . -c -o $@ $(LCOVFLAGS) --gcov-tool $(GCOV) --no-external
# hook for clean-up
[parent: 504923a0ed5c]