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

Revert "Capture only coverage data for the current project in the first place,...

Revert "Capture only coverage data for the current project in the first place, instead of extracting it from all coverage data in a second step. This seems to be needed as extraction spuriously might fail in some cases."

This reverts commit ce14dcd0.

Reason for the revert: The change did not work on Ubuntu 12.04 due to an old version of lcov.
parent ce14dcd0
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