mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-26 02:38:37 -06:00
Merge topic 'ctest-timeout-on-pipe'
d1976cd1f2CTest: Fix timeout when grandchild keeps pipes open2f5eb1800bTests: Add RunCMake.CTestTimeout test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4217
This commit is contained in:
@@ -278,9 +278,6 @@ void cmProcess::OnTimeoutCB(uv_timer_t* timer)
|
||||
|
||||
void cmProcess::OnTimeout()
|
||||
{
|
||||
if (this->ProcessState != cmProcess::State::Executing) {
|
||||
return;
|
||||
}
|
||||
this->ProcessState = cmProcess::State::Expired;
|
||||
bool const was_still_reading = !this->ReadHandleClosed;
|
||||
if (!this->ReadHandleClosed) {
|
||||
|
||||
Reference in New Issue
Block a user