Skip to content
Snippets Groups Projects
Forked from Eclipse Projects / Eclipse openpass / opSimulation
Source project has a limited visibility.
Rene Paris's avatar
René Paris authored
New cmake-options:
- "-D WITH_COVERAGE=ON" to activate,
- "-D COVERAGE_EXCLUDES=/usr/;..." for filtering

Adds dependencies on:
- fastcov, gcov, genhtml
- Necessary Find*.cmake packages provided and conditionally activated

This option adds two consecutive test targets to each test:
- <test>_coverage
- <test>_html

Build:
- "ctest" to generate and run tests and generate html coverage report
- Then look for <test_bin_root>/html/index.html

Signed-off-by: René Paris's avatarRene Paris <rene.paris@in-tech.com>
Signed-off-by: default avatarReinhard Biegel <reinhard.biegel@in-tech.com>
c5e93231
History
Name Last commit Last update
..