Catch2 icon indicating copy to clipboard operation
Catch2 copied to clipboard

Add DISCOVERY_MODE to catch_discover_tests

Open reddwarf69 opened this issue 2 years ago • 0 comments

catch_discover_tests is modelled after CMake's gtest_discover_tests, but it's not up to date. Since CMake 3.18 gtest_discover_tests has supported a DISCOVERY_MODE option, which when set to PRE_TEST allows for the test discovery to be delayed until just prior to test execution. This is useful when cross-compiling, since the build machine may be unable to run the test executable. Adding DISCOVERY_MODE to catch_discover_tests would be equally useful.

reddwarf69 avatar Aug 02 '22 14:08 reddwarf69