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
@ -896,7 +896,7 @@ coverage-html-stamp: lcov.info
|
|||||||
all_gcda_files = $(shell find . -name '*.gcda' -print)
|
all_gcda_files = $(shell find . -name '*.gcda' -print)
|
||||||
|
|
||||||
lcov.info: $(all_gcda_files)
|
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
|
# hook for clean-up
|
||||||
|
Loading…
x
Reference in New Issue
Block a user