You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmake -B build -DCMAKE_BUILD_TYPE=Coverage
cd build
make tests
cmake -DLCOV_OPTS="--ignore-errors mismatch" -P Coverage.cmake
The .gcno files are generated, but the .gcda files are not generated, so the process fails to complete.
I'm not sure why the gcda files are not being generated. I can see gcov symbols when I do nm ./test/mptest | grep gcov, but it doesn't work.
Activity
maflcko commentedon Aug 28, 2025
I haven't tried this, but you may be more successful with the llvm/clang coverage, similar to how it is documented for Bitcoin Core: https://github.com/bitcoin/bitcoin/blob/6ca6f3b37b992591726bd13b494369bee3bd6468/doc/developer-notes.md#using-llvmclang-toolchain ?
Merge #221: test default PassField impl handles output parameters