mirror of
https://github.com/postgres/postgres.git
synced 2026-04-20 22:00:13 -04:00
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>
This commit is contained in:
parent
504923a0ed
commit
66fd86a6a3
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue