ci: improve lcov HTML output
In particular, demangle C++ symbols in the function coverage view.
Change-Id: I882a88fda77c468e26b935ad6088b4254e875151
diff --git a/.jenkins.d/30-coverage.sh b/.jenkins.d/30-coverage.sh
index 7637b61..2c8ce82 100755
--- a/.jenkins.d/30-coverage.sh
+++ b/.jenkins.d/30-coverage.sh
@@ -15,8 +15,9 @@
# Generate also a detailed HTML output, but using lcov (better results)
lcov --quiet \
- --capture --no-external \
+ --capture \
--directory . \
+ --no-external \
--rc lcov_branch_coverage=1 \
--output-file build/coverage-with-tests.info
@@ -25,8 +26,11 @@
--rc lcov_branch_coverage=1 \
--output-file build/coverage.info
- genhtml --legend \
- --rc genhtml_branch_coverage=1 \
- build/coverage.info \
- --output-directory build/coverage
+ genhtml --branch-coverage \
+ --demangle-cpp \
+ --frames \
+ --legend \
+ --output-directory build/coverage \
+ --title "ndn-tools unit tests" \
+ build/coverage.info
fi