catch2/extras
Holger Kaelberer aad926baf8 Catch.cmake: Add new DISCOVERY_MODE option to catch_discover_tests
Introducing a new DISCOVERY_MODE mode option, which provides greater
control over when catch_discover_tests perforsm test discovery.

It has two supported modes:
* POST_BUILD: The default behavior, which adds a POST_BUILD command
  to perform test discovery after the test has been built as was
  always done so far.

* PRE_TEST: New mode, which delays test discovery until test execution.
  The generated include file generates the appropriate CTest files at
  runtime and regenerates the CTest files when the executable is
  updated.
  This mode can be used in build-environments that don't allow for
  executing the linked binaries at build-time (like in a
  cross-compilation environment).

DISCOVERY_MODE can be controlled in two ways:
1. Setting the DISCOVERY_MODE when calling catch_discover_tests.

2. Setting the global CMAKE_CATCH_DISCOVER_TESTS_DISCOVERY_MODE prior
   to calling gtest_discover_tests.

Closes #2493
2023-04-19 23:51:42 +02:00
..
catch_amalgamated.cpp v3.3.2 2023-02-27 15:12:49 +01:00
catch_amalgamated.hpp v3.3.2 2023-02-27 15:12:49 +01:00
Catch.cmake Catch.cmake: Add new DISCOVERY_MODE option to catch_discover_tests 2023-04-19 23:51:42 +02:00
CatchAddTests.cmake CatchAddTests.cmake: Refactor into callable method 2023-04-19 23:51:42 +02:00
CatchShardTests.cmake Fixed extras installation and shard impl location 2023-03-14 18:31:38 +01:00
CatchShardTestsImpl.cmake Fix references to license file 2022-10-28 11:30:15 +02:00
gdbinit Rename contrib/ to extras/ 2019-12-05 16:24:57 +01:00
lldbinit Rename contrib/ to extras/ 2019-12-05 16:24:57 +01:00
ParseAndAddCatchTests.cmake Add deprecation warning in ParseAndCatchTests 2021-05-09 18:05:25 +02:00