Add commands for coverage report
Follow up on #1 with options used in PDELab. At the moment, the compilation with code coverage support is still missing. We need to add the flag --coverage
and link against gcov
to make this functional. Feel free to propose alternatives.
Note: nothing is tested yet, and I am assuming that
This is already tested in dune-common!1516 (closed)gcov-12
exists in the debian 12 image. I am sure gcov-10
exists in the debian 11 image, but I think it would be nice to combine this with the checkings in the debian 12 image. So some further tests are needed.
Merge request reports
Activity
assigned to @simon.praetorius
- Resolved by Santiago Ospina De Los Ríos
I will make sure that gcov is installed in all docker images. Do you also need other tools like lcov?
- Resolved by Santiago Ospina De Los Ríos
Does this produce the nice gitlab coverage reports?
mentioned in merge request dune-common!1516 (closed)
I created a MR with this options in dune common, see dune-common!1516 (closed). The C++ coverage seems to work fine, however, it fails with the python bindings: https://gitlab.dune-project.org/core/dune-common/-/jobs/653974
Edited by Santiago Ospina De Los Ríos- Resolved by Santiago Ospina De Los Ríos
requested review from @simon.praetorius
assigned to @santiago.ospina and unassigned @simon.praetorius
- Resolved by Santiago Ospina De Los Ríos
mentioned in commit 6a2f4144
mentioned in commit pdelab/dune-pdelab@babd493b
mentioned in merge request pdelab/dune-pdelab!639 (merged)