Closed MichaelRawson closed 8 months ago
Could you please reflect the rule:
"if you want code coverage, run CMake with -DCOVERAGE=ON."
somewhere in our wiki? Otherwise, good to go by me!
Done, good idea! Will merge in a little bit to see if anyone peeps.
Seems not, merging.
Trivial build system stuff; just making this a PR to check the team is OK with it.
In #518 we gained code coverage reports. This is really nice to have if you're writing unit tests, but quite slow if you're just checking they still pass. Therefore: put them behind a CMake flag
COVERAGE
.Bottom line: if you want code coverage, run CMake with
-DCOVERAGE=ON
.