1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

build: normalize coverage.info

Without this, lcov sometimes misses to normalize paths that contain "/./".
Also, ignore uninteresting hits in system headers.
This commit is contained in:
Reinhard Tartler
2013-04-21 19:10:26 +02:00
parent 768e44d044
commit 95e8ac60f8

View File

@@ -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