Skip to content
Snippets Groups Projects
Commit 310073df authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

Merge remote-tracking branch 'project-template/master'

parents 77315db0 34060d3d
No related branches found
No related tags found
No related merge requests found
......@@ -19,5 +19,8 @@
coverage:
rm -f `find . -name "*\.gcda"`
make test
lcov --capture --directory . --output-file coverage.info --no-external --base-directory "@CMAKE_SOURCE_DIR@"
lcov --capture --directory . --output-file coverage_all.info
#lcov capture also includes external stuff like glibc, boost etc.
#only extract the reports for this project
lcov --extract coverage_all.info "@CMAKE_SOURCE_DIR@*" -o coverage.info
genhtml coverage.info --output-directory coverage_html
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment