ci: fix llvm-cov -ignore-filename-regex pattern
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
light7734 2025-07-21 18:56:20 +03:30
parent 46505a6c24
commit 8720fdcebf
Signed by: light7734
GPG key ID: 8C30176798F1A6BA
5 changed files with 4 additions and 3 deletions

View file

@ -1,2 +1,2 @@
add_library_module(test test.cpp entrypoint.cpp)
add_test_module(test test.tests.cpp)
add_test_module(test test.test.cpp)

View file

@ -1,3 +1,3 @@
add_library_module(time timer.cpp)
add_test_module(time timer.tests.cpp)
add_test_module(time timer.test.cpp)

View file

@ -29,7 +29,8 @@ LLVM_COV_SHOW=$(llvm-cov show \
-instr-profile='./build/coverage/merged.profdata' \
$(find ./build -type f -name '*_tests' -executable -exec printf -- '-object %s ' {} \;) \
$(find ./build -type f -name '*\.a' -exec printf -- '-object %s ' {} \;) \
-ignore-filename-regex="*.test.cpp|./external*"
-ignore-filename-regex='\.test\.cpp$' \
-ignore-filename-regex='./external/'
)
echo "${LLVM_COV_SHOW}" > './build/coverage/coverage.txt'