This is a backport of core#15296
Depends on D10029
Differential D10030
tests: Add script checking for deterministic line coverage PiRK on Sep 3 2021, 07:04. Authored by Tags None Subscribers None
Details
This is a backport of core#15296 Depends on D10029 Install gcov and gcovr. cmake .. -GNinja -DENABLE_COVERAGE=ON ninja test_bitcoin ../contrib/devtools/test_deterministic_coverage.sh To test it with clang, modify the GCOV_EXECUTABLE variable to "llvm-cov-13 gcov" (adjust the number to your clang version). cmake .. -GNinja -DENABLE_COVERAGE=ON -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ninja test_bitcoin ../contrib/devtools/test_deterministic_coverage.sh
Diff Detail
Event Timeline |