Skip to content

add the possibility to create a code coverage report

Martin Alkämper requested to merge feature/code-coverage into master

The code coverage needs lcov and gcov. This adds the target acfem_code_coverage if -DCMAKE_BUILD_TYPE=Debug is set.

Calling make acfem_code_coverage creates a folder acfem_code_coverage inside the debug build-directory, which contains an index.html with the code coverage.

This only works if all tests pass. So, to get this running, we first need to work on the timeout of poisson-dg in #6 (closed) .

Merge request reports