CMake 3.30: CTest/GoogleTest undocumented new behaviors
Out of 25k found 3 breakages all related to CTest. These are not regressions, just undocumented. One is even a bug fix?
The easiest to fix come from !9383 (merged)
Ran into the following two which are quite obvious what's wrong:
ctest --timeout=300 -V
CMake Error: Unknown argument: --timeout=300
ctest -v --output-on-error
CMake Error: Unknown argument: -v
What I can't find the change that caused this, is for gtest_add_tests
finding new/missing tests all of a sudden. The same can be achieved in CMake 3.29 with gtest_discover_tests
, but something in CMake 3.30 fixed a bug with gtest_add_tests
.