Is there an existing issue for this?
- I have searched the existing issues
Current behaviour
When following Compiling for Test Coverage instructions: doc/developer-notes-CompilingForTestCoverage
I encounter error:
CMake Error: File /home/alicebob/wkspc1/presets/bitcoin/cmake/cov_tool_wrapper.sh.in does not exist.
CMake Error at /home/alicebob/wkspc1/build/bitcoin/CoverageInclude.cmake:14 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
/home/alicebob/wkspc1/build/bitcoin/Coverage.cmake:5 (include)
Expected behaviour
Driver for functional tests should run, generating instrumentation report HTML.
Steps to reproduce
- Compile for coverage. Following are sample cmake cache variables for the CLang tool chain:
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_CXX_FLAGS": "-fprofile-arcs -ftest-coverage",
"CMAKE_BUILD_TYPE": "Coverage",
- Follow instructions in developer notes to compile for coverage: doc/developer-notes-CompilingForTestCoverage
Relevant log output
CMake Error: File /home/alicebob/wkspc1/presets/bitcoin/cmake/cov_tool_wrapper.sh.in does not exist.
CMake Error at /home/alicebob/wkspc1/build/bitcoin/CoverageInclude.cmake:14 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
/home/alicebob/wkspc1/build/bitcoin/Coverage.cmake:5 (include)
How did you obtain Bitcoin Core
Compiled from source
What version of Bitcoin Core are you using?
v28.99.0-37e49c2c7ca5
Operating system and version
Ubuntu 24.04.1 LTS
Machine specifications
Unix/Intel