Skip to content

CTest: Fix regression in test timeout compuatation

Brad King requested to merge brad.king/cmake:fix-ctest-chrono into master

Refactoring in !1513 (merged) accidentally changed the logic used to compute the timeout for a test when it starts. It incorrectly limits the maximum possible timeout to 2 minutes rather than 2 minutes less than the total allowed test time remaining. Update the new logic to restore the original behavior.

Merge request reports