summaryrefslogtreecommitdiff
path: root/Source/CTest
diff options
context:
space:
mode:
authorZack Galbreath <zack.galbreath@kitware.com>2016-10-17 11:24:01 -0400
committerZack Galbreath <zack.galbreath@kitware.com>2016-10-17 11:24:32 -0400
commit909842fff98983bff8b61c37b11a99d89dcc4d36 (patch)
tree0b7eb82f98946daff94078ef29b6c4d5df72cac9 /Source/CTest
parent188c762f8a5f690708109a3cb8d44693e599adb1 (diff)
downloadcmake-909842fff98983bff8b61c37b11a99d89dcc4d36.tar.gz
CTest: report time spent after matching output
When using the TIMEOUT_AFTER_MATCH test property, only report the time spent by the test after the matching output was found.
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmProcess.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CTest/cmProcess.cxx b/Source/CTest/cmProcess.cxx
index cf3c7acdfa..a24fe212f9 100644
--- a/Source/CTest/cmProcess.cxx
+++ b/Source/CTest/cmProcess.cxx
@@ -225,6 +225,7 @@ void cmProcess::ChangeTimeout(double t)
void cmProcess::ResetStartTime()
{
cmsysProcess_ResetStartTime(this->Process);
+ this->StartTime = cmSystemTools::GetTime();
}
int cmProcess::GetExitException()