Skip to content
Snippets Groups Projects
Commit 95e8ac60 authored by Reinhard Tartler's avatar Reinhard Tartler
Browse files

build: normalize coverage.info

Without this, lcov sometimes misses to normalize paths that contain "/./".
Also, ignore uninteresting hits in system headers.
parent 768e44d0
No related branches found
No related tags found
No related merge requests found
...@@ -129,7 +129,9 @@ fate-list: ...@@ -129,7 +129,9 @@ fate-list:
coverage.info: TAG = LCOV coverage.info: TAG = LCOV
coverage.info: coverage.info:
$(M)lcov -q -d $(CURDIR) -b $(SRC_PATH) --capture -o $@ $(M)lcov -q -d $(CURDIR) -b $(SRC_PATH) --capture | \
sed "s,$(CURDIR)/\./,$(CURDIR)/," > $@
$(M)lcov -q --remove $@ "/usr/include*" -o $@
lcov: TAG = GENHTML lcov: TAG = GENHTML
lcov: coverage.info lcov: coverage.info
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment