ctest 10 minute timeout introduced between 3.31.0 and 4.1.0?

ctest -T test -R SomeTest --debug
3.31.0: CTest\cmCTestRunTest.cxx:836 247: Test timeout computed to be: 10000000

4.10.0: Test timeout computed to be: 600

I checked the offending source code and did some debugging, but the 10 minutes have been there in 3.31.0 too, something else must have changed.

Does anyone have any link to the documentation for the 10 minutes default timeout? I have found nothing.

Whats also curious --timeout 0 is ignored if added. (values > 0 are not ignored)
If I remove -T test the 10 minutes timeout goes away.

What do you think, worth opening an issue?

Cc: @purpleKarrot

Thanks. This bisects to CMake MR 9881. It doesn’t look intentional.

Please open an issue.

For reference, -T test is meant to activate dashboard client mode, which isn’t something normally done during local development.

I believe at least one major IDE uses ctest -T test to run or query the set of defined tests. I don’t know why they chose to do that.