volk icon indicating copy to clipboard operation
volk copied to clipboard

Coverage

Open marcusmueller opened this issue 1 year ago • 4 comments

This adds support for Coverage reporting.

Requirements:

  • gcc or clang
  • gcov
  • gcovr

Usage:

mkdir build-coverage && cd build-coverage
cmake -DCMAKE_BUILD_TYPE=Coverage ..
make -j
make coverage
firefox coverage/index.html

Demo of the result on my oldish desktop machine: https://doppler.inpha.se/coverage/

marcusmueller avatar Oct 23 '23 21:10 marcusmueller

The patch to CodeCoverage.cmake is something I'm trying to upstream: bilke/cmake-modules#82

marcusmueller avatar Oct 23 '23 23:10 marcusmueller

@jdemel done, but you won't be updating this anytime soon.

marcusmueller avatar Nov 05 '23 14:11 marcusmueller

@jdemel done, but you won't be updating this anytime soon.

That is actually a good reason to put the info in there.

jdemel avatar Nov 07 '23 08:11 jdemel

@marcusmueller If you don't mind I'll have a crack at it to make it useful for user output & ingestion into statistics/CI pipeline. Because with the way it is right now it will not be immediately useful to integrate...

noc0lour avatar Jan 02 '24 14:01 noc0lour