Page MenuHomePhabricator

Re-enable code coverage testing in MITK CI
Open, NormalPublic


There is a superbuild variable WITH_COVERAGE which should turn on code coverage reports for Linux dartclients.

For testing I added this to the MITKDahboardScript:


submit(PARTS Test Coverage Done)

The necessary flags are set correclty (-fprofile-arcs -fuse-coverage) and coverage information is generated during CTest runs of the test. However something fails during collection of the data. (No coverage information found)

However, changing into MITK-build and calling ctest -D Experimentalworks perfectly.

This ticket is primarily for reference, I can keep looking at the issue with low priority, if someone wants to take over I'm happy to help