Conversation
ctest doesn't like `-R "-default"`. CMake 4.0 fails with the following error message: > CMake Error: Invalid value used with -R `-R` normally specifies the regex that needs to match. If none is specified, all are selected: https://cmake.org/cmake/help/latest/manual/ctest.1.html#cmdoption-ctest-R This maybe never worked, but got silently ignored until https://cmake.org/cmake/help/latest/policy/CMP0175.html Removing that regex should only cause *more* tests to get selected, not less - and the build now succeeds with it.
|
I think Is |
|
Maybe the latter? But as I wrote, removing the regex should cause more things to be selected, and everything still succeeds. So it's probably ok to just drop it? |
|
The purpose of the target is to run a subset of the tests, which should run faster than doing a full I can actually reproduce on my machine (ctest 4.1.1), and using |
ctest doesn't like
-R "-default". CMake 4.0 fails with the following error message:-Rnormally specifies the regex that needs to match. If none is specified, all are selected:https://cmake.org/cmake/help/latest/manual/ctest.1.html#cmdoption-ctest-R
This maybe never worked, but got silently ignored until https://cmake.org/cmake/help/latest/policy/CMP0175.html
Removing that regex should only cause more tests to get selected, not less - and the build now succeeds with it.