提交 95e8ac60 编写于 作者: R Reinhard Tartler

build: normalize coverage.info

Without this, lcov sometimes misses to normalize paths that contain "/./".
Also, ignore uninteresting hits in system headers.
上级 768e44d0
......@@ -129,7 +129,9 @@ fate-list:
coverage.info: TAG = LCOV
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: coverage.info
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册