Pass %p to LLVM_PROFILE_FILE instead of wrapper

This commit is contained in:
Alexey Sokolov
2025-05-01 22:44:39 +01:00
parent 2f02a9ea00
commit 00579d151e
3 changed files with 2 additions and 42 deletions

2
.github/build.sh vendored
View File

@@ -32,7 +32,7 @@ sudo make install
/usr/local/bin/znc --version
# TODO: use DEVEL_COVER_OPTIONS for https://metacpan.org/pod/Devel::Cover
env LLVM_PROFILE_FILE="$PWD/inttest.profraw" ZNC_MODPERL_COVERAGE_OPTS="-db,$PWD/cover_db" PYTHONWARNINGS=error make VERBOSE=1 inttest
env LLVM_PROFILE_FILE="$PWD/inttest.profraw.%p" ZNC_MODPERL_COVERAGE_OPTS="-db,$PWD/cover_db" PYTHONWARNINGS=error make VERBOSE=1 inttest
ls -lRa
~/perl5/bin/cover --no-gcov --report=clover