TIMEOUT — CMake 3.29.3 Documentation

# TIMEOUT

How many seconds to allow for this test.

This property if set will limit a test to not take more than the specified number of seconds to run. If it exceeds that the test process will be killed and ctest will move to the next test. This setting takes precedence over `CTEST_TEST_TIMEOUT`.

An explicit `0` value means the test has no timeout, except as necessary to honor `ctest --stop-time`.

See also `TIMEOUT_AFTER_MATCH` and `TIMEOUT_SIGNAL_NAME`.