Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2013-04-21 21:10:26 +0400
committerReinhard Tartler <siretart@tauware.de>2013-05-04 11:34:58 +0400
commit95e8ac60f8b7317ce23c648250fdc8fb68d65a07 (patch)
tree5e5184c3fbb6484de72ce1a97d60da5f259e75ef
parent768e44d044bc32de1e58c198a3708d186af7e966 (diff)
build: normalize coverage.info
Without this, lcov sometimes misses to normalize paths that contain "/./". Also, ignore uninteresting hits in system headers.
-rw-r--r--tests/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 86b7503c93..939490b349 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -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