diff options
author | Brad King <brad.king@kitware.com> | 2023-09-29 13:00:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-09-29 13:25:01 (GMT) |
commit | d267c128a232e9beb99576f901ee1b9291ba1480 (patch) | |
tree | b017f5ccc4a31087bc41a8d57ce1a7fe13ec1e1f /Tests/WarnUnusedCliUnused/empty.cpp | |
parent | dd779a4bc2f1b845a03b00885cd33ed2cc8adac3 (diff) | |
download | CMake-d267c128a232e9beb99576f901ee1b9291ba1480.zip CMake-d267c128a232e9beb99576f901ee1b9291ba1480.tar.gz CMake-d267c128a232e9beb99576f901ee1b9291ba1480.tar.bz2 |
ctest: Restore support for --timeout values higher than default test timeout
Since refactoring in commit 0a5aeaf302 (cmCTestRunTest: Consolidate test
timeout selection logic, 2023-05-04, v3.27.0-rc1~120^2) we accidentally
truncate `--timeout` values to ctest's default `TimeOut`. Fix the
logic to prefer the flag whenever the `TIMEOUT` property is not set.
In combination with the prior refactoring, this also fixes a bug that
caused `--timeout` values of 10000000 seconds or more to be ignored.
Fixes: #23979
Diffstat (limited to 'Tests/WarnUnusedCliUnused/empty.cpp')
0 files changed, 0 insertions, 0 deletions