Commit 66fd86a6 authored by Peter Eisentraut's avatar Peter Eisentraut

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: default avatarMichael Paquier <michael.paquier@gmail.com>
parent 504923a0
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment