summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-01-15 18:35:44 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-01-15 18:35:51 (GMT)
commit2272d256fb811308102ad46f0992ebfc73094ddc (patch)
tree8ff6be62dac4ed494c49c75daec100ac013a0b9f /Source
parent204c0a65af7e4e00c9ab9525de5b02c143034f97 (diff)
parentd1976cd1f226a6da00dbab1b851202f0c69341db (diff)
downloadCMake-2272d256fb811308102ad46f0992ebfc73094ddc.zip
CMake-2272d256fb811308102ad46f0992ebfc73094ddc.tar.gz
CMake-2272d256fb811308102ad46f0992ebfc73094ddc.tar.bz2
Merge topic 'ctest-timeout-on-pipe'
d1976cd1f2 CTest: Fix timeout when grandchild keeps pipes open 2f5eb1800b Tests: Add RunCMake.CTestTimeout test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4217
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/cmProcess.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/CTest/cmProcess.cxx b/Source/CTest/cmProcess.cxx
index 2ec9622..cdf899c 100644
--- a/Source/CTest/cmProcess.cxx
+++ b/Source/CTest/cmProcess.cxx
@@ -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) {