summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fd2791b)
raw | patch | inline | side by side (parent: fd2791b)
author | Sebastian Harl <sh@tokkee.org> | |
Tue, 8 Jul 2014 18:41:03 +0000 (20:41 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Tue, 8 Jul 2014 18:41:03 +0000 (20:41 +0200) |
lcov cannot handle them correctly.
t/coverage.sh | patch | blob | history |
diff --git a/t/coverage.sh b/t/coverage.sh
index 1de97641e0138ed8a663d0c9620b5257ab1421d7..bb766427234e5c53513b5fd0d434cebfcd3b1b4a 100755 (executable)
--- a/t/coverage.sh
+++ b/t/coverage.sh
--capture -o sysdb_coverage.info \
|| lcov --base-directory src --directory src \
--capture -o sysdb_coverage.info
+for pattern in '*.y' '*.l'; do
+ lcov --remove sysdb_coverage.info "$pattern" -o sysdb_coverage.info
+done
V=$( ./version-gen.sh )
genhtml -o "$srcdir"/t/coverage \