Skip to content

CTest: Improve stop-time implementation

Brad King requested to merge brad.king/cmake:ctest-stop-time-test into master

The CTestTestStopTime test has been failing sporadically because the stop time causes the first internal test to have a timeout short enough that we might hit it and start the second test just before the stop time is reached. Instead we should track when a timeout is shortened in order to stay within the stop time. If a test times out for this reason then we should consider the stop time reached and not start any more tests.

Merge request reports