projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
768e44d
)
build: normalize coverage.info
author
Reinhard Tartler
<siretart@tauware.de>
Sun, 21 Apr 2013 17:10:26 +0000
(19:10 +0200)
committer
Reinhard Tartler
<siretart@tauware.de>
Sat, 4 May 2013 07:34:58 +0000
(09:34 +0200)
Without this, lcov sometimes misses to normalize paths that contain "/./".
Also, ignore uninteresting hits in system headers.
tests/Makefile
patch
|
blob
|
history
diff --git
a/tests/Makefile
b/tests/Makefile
index
86b7503
..
939490b
100644
(file)
--- 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