mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-22 03:13:30 +01:00
4e8399d835
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. |
||
---|---|---|
.. | ||
catch_amalgamated.cpp | ||
catch_amalgamated.hpp | ||
Catch.cmake | ||
CatchAddTests.cmake | ||
CatchShardTests.cmake | ||
CatchShardTestsImpl.cmake | ||
gdbinit | ||
lldbinit | ||
ParseAndAddCatchTests.cmake |