This PR ensures that cov_tool_wrapper.sh.in
is available when invoking the Coverage.cmake
script from any directory.
Here is an example of usage on Ubuntu 24.10 with the default GCC 14.2.0:
0$ cmake -B build -DCMAKE_BUILD_TYPE=Coverage -DCMAKE_CXX_FLAGS="-fprofile-update=atomic" -DCMAKE_C_FLAGS="-fprofile-update=atomic"
1$ cmake --build build -j $(nproc)
2$ cd ..
3$ cmake -DJOBS=$(nproc) -DLCOV_OPTS="--ignore-errors inconsistent,inconsistent" -P bitcoin/build/Coverage.cmake
Fixes #31638.