summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 967d918)
raw | patch | inline | side by side (parent: 967d918)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 1 Mar 2015 14:38:56 +0000 (15:38 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 1 Mar 2015 14:38:56 +0000 (15:38 +0100) |
t/coverage.sh | patch | blob | history |
diff --git a/t/coverage.sh b/t/coverage.sh
index a689b571156166dc7a90bb972d7817153d23a4d9..3a8a4167cca689839ed6dc8faaeb07ac4ec101f0 100755 (executable)
--- a/t/coverage.sh
+++ b/t/coverage.sh
make
lcov --base-directory src --directory src --zerocount
-make test || (status=$?; cat t/test-suite.log 2> /dev/null; exit $status)
+make -j25 test || (status=$?; cat t/test-suite.log 2> /dev/null; exit $status)
# old versions of lcov don't support --no-external
lcov --base-directory src --directory src --no-external \
--capture -o sysdb_coverage.info \
|| lcov --base-directory src --directory src \
--capture -o sysdb_coverage.info
-for pattern in '*.y' '*.l'; do
+for pattern in '*.y' '*.l' \
+ 'sysdb/scanner.c' 'frontend/scanner.c' 'liboconfig/scanner.c' \
+ 'frontend/grammar.c' 'liboconfig/parser.c'
+do
lcov --remove sysdb_coverage.info "$pattern" -o sysdb_coverage.info
done