summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-05-16 18:38:31 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-05-16 18:38:31 (GMT)
commit62a9bdb466248a7726dd23da765ee63eb113fc52 (patch)
tree62afc19aeaac53ecf9b2c1f1ebcffe1a230b76e6 /Source/CTest
parent5d6e54ce502a8bd9218e9f0ae4e400fc5ec55d65 (diff)
parent12cf7bc507e914c48289b73d241c5c9fea091ce8 (diff)
downloadCMake-62a9bdb466248a7726dd23da765ee63eb113fc52.zip
CMake-62a9bdb466248a7726dd23da765ee63eb113fc52.tar.gz
CMake-62a9bdb466248a7726dd23da765ee63eb113fc52.tar.bz2
Merge topic 'only-first-output-regex'
12cf7bc CTest: break after first regex match on output
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestRunTest.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestRunTest.cxx b/Source/CTest/cmCTestRunTest.cxx
index 5eabf3f..fc1bcb5 100644
--- a/Source/CTest/cmCTestRunTest.cxx
+++ b/Source/CTest/cmCTestRunTest.cxx
@@ -166,6 +166,7 @@ bool cmCTestRunTest::EndTest(size_t completed, size_t total, bool started)
{
found = true;
reason = "Required regular expression found.";
+ break;
}
}
if ( !found )
@@ -196,6 +197,7 @@ bool cmCTestRunTest::EndTest(size_t completed, size_t total, bool started)
reason += passIt->second;
reason += "]";
forceFail = true;
+ break;
}
}
}