gnuradio / volk

The Vector Optimized Library of Kernels
http://libvolk.org
GNU Lesser General Public License v3.0
557 stars 202 forks source link

Coverage #682

Open marcusmueller opened 1 year ago

marcusmueller commented 1 year ago

This adds support for Coverage reporting.

Requirements:

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 commented 1 year ago

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

marcusmueller commented 1 year ago

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

jdemel commented 1 year ago

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

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

noc0lour commented 10 months ago

@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...