diff --git a/modules/test/CMakeLists.txt b/modules/test/CMakeLists.txt index c4ea0a8..cc9bb62 100644 --- a/modules/test/CMakeLists.txt +++ b/modules/test/CMakeLists.txt @@ -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) diff --git a/modules/test/private/test.tests.cpp b/modules/test/private/test.test.cpp similarity index 100% rename from modules/test/private/test.tests.cpp rename to modules/test/private/test.test.cpp diff --git a/modules/time/CMakeLists.txt b/modules/time/CMakeLists.txt index 834895b..0cfb0a1 100644 --- a/modules/time/CMakeLists.txt +++ b/modules/time/CMakeLists.txt @@ -1,3 +1,3 @@ add_library_module(time timer.cpp) -add_test_module(time timer.tests.cpp) +add_test_module(time timer.test.cpp) diff --git a/modules/time/private/timer.tests.cpp b/modules/time/private/timer.test.cpp similarity index 100% rename from modules/time/private/timer.tests.cpp rename to modules/time/private/timer.test.cpp diff --git a/tools/ci/amd64/clang/coverage.sh b/tools/ci/amd64/clang/coverage.sh index d2fce76..2b2aff9 100755 --- a/tools/ci/amd64/clang/coverage.sh +++ b/tools/ci/amd64/clang/coverage.sh @@ -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'