Content-Length: 258105 | pFad | http://github.com/postgrespro/postgres_cluster/commit/66fd86a6a3d2ac9772f977ec43af190ea3fe6ddb

13 Have lcov exclude external files · postgrespro/postgres_cluster@66fd86a · GitHub
Skip to content

Commit 66fd86a

Browse files
committed
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>
1 parent 504923a commit 66fd86a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Makefile.global.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ coverage-html-stamp: lcov.info
896896
all_gcda_files = $(shell find . -name '*.gcda' -print)
897897

898898
lcov.info: $(all_gcda_files)
899-
$(LCOV) -d . -c -o $@ $(LCOVFLAGS) --gcov-tool $(GCOV)
899+
$(LCOV) -d . -c -o $@ $(LCOVFLAGS) --gcov-tool $(GCOV) --no-external
900900

901901

902902
# hook for clean-up

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/66fd86a6a3d2ac9772f977ec43af190ea3fe6ddb

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy