summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CTestTimeout/RunCMakeTest.cmake
Commit message (Collapse)AuthorAgeFilesLines
* ctest: Restore support for --timeout values higher than default test timeoutBrad King2023-09-291-0/+7
| | | | | | | | | | | | 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
* Tests: Clarify RunCMake.CTestTimeout case nameBrad King2023-09-291-1/+1
|
* CTest: Fix regression in calculating test timeoutKyle Edwards2023-07-241-0/+7
| | | | Fixes: #25120
* ctest: Optionally terminate tests with a custom signal on timeoutBrad King2023-06-021-1/+57
| | | | | | | | CTest normally terminates test processes on timeout using `SIGKILL`. Offer tests a chance to exit gracefully, on platforms supporting POSIX signals, by setting `TIMEOUT_SIGNAL_{NAME,GRACE_PERIOD}` properties. Fixes: #17288
* ctest: Fix TIMEOUT test property with value 0 with --timeout flagBrad King2023-05-041-1/+2
| | | | | An explicit zero TIMEOUT test property value should not be overridden by the `--timeout` flag.
* Tests: Move `CTestTestZeroTimeout` into `RunCMake.CTestTimeout`Brad King2023-05-041-1/+11
|
* CTest: Fix timeout when grandchild keeps pipes openBrad King2020-01-141-0/+8
| | | | | | | | | | | When a test's process creates its own child and exits, the grandchild may keep pipes open. Fix CTest logic to correctly timeout if the grandchild does not exit and close the pipes before the timeout expires. This was broken by commit b5e21d7d2e (CTest: Re-implement test process handling using libuv, 2017-12-10, v3.11.0-rc1~117^2) which added an unnecessary condition to the timeout handling. Fixes: #20116
* Tests: Add RunCMake.CTestTimeout testBrad King2020-01-141-0/+14
This test will consolidate CTest timeout-related tests.