diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2017-08-10 23:33:47 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2017-09-28 08:50:11 -0400 |
commit | 66fd86a6a3d2ac9772f977ec43af190ea3fe6ddb (patch) | |
tree | 8562755869b7ce61e3e679a65501653f30ed6f63 | |
parent | 504923a0ed5c75775196c8ed0cd59b15d55cd39b (diff) | |
download | postgresql-66fd86a6a3d2ac9772f977ec43af190ea3fe6ddb.tar.gz postgresql-66fd86a6a3d2ac9772f977ec43af190ea3fe6ddb.zip |
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>
-rw-r--r-- | src/Makefile.global.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |