git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 504923a)
Have lcov exclude external files
2017年8月11日 03:33:47 +0000 (23:33 -0400)
2017年9月28日 12:50:11 +0000 (08:50 -0400)
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>

diff --git a/src/Makefile.global.in b/src/Makefile.global.in
index f352ba20e20f9e3fdfe7dc838103b0df2e1a75af..2b22f0de2997fb72a5e4fcbec4ed6a477c095c95 100644 (file)
--- 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
This is the main PostgreSQL git repository.
RSS Atom

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