Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tests/TestScripts/testBazelSharding.py
diff options
context:
space:
mode:
authorHolger Kaelberer2023-04-11 09:43:44 +0200
committerMartin Hořeňovský2023-04-19 23:51:42 +0200
commit4e8399d83532cc8f990caa3937319c3f8f92e8b8 (patch)
tree793fc607c5223c017e9070ea29c51214837116b1 /tests/TestScripts/testBazelSharding.py
parent9a2a4eadc0e50e0534278010624eac15991413a7 (diff)
downloadcatch3-4e8399d83532cc8f990caa3937319c3f8f92e8b8.tar.gz
CatchAddTests.cmake: Refactor into callable method
Move test discovery logic into new catch_discover_tests_impl method and make CatchAddTests aware of whether it is being launched in CMake's script mode. When launched in script mode, catch_discover_tests_impl is called passing arguments obtained from the definitions passed into the call to cmake. This preserves the existing behavior assumed by Catch.cmake. Looking ahead, it also allows CatchAddTests to be included in generated files and call catch_discover_tests_impl to perform test discovery at test runtime with the new PRE_TEST discovery mode introduced later.
Diffstat (limited to 'tests/TestScripts/testBazelSharding.py')
0 files changed, 0 insertions, 0 deletions