diff options
author | Brad King <brad.king@kitware.com> | 2010-06-24 14:35:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-06-24 14:35:10 (GMT) |
commit | 73144a8f1c9cf31f79ac852aa75e1c75819c6062 (patch) | |
tree | e5ca30d6fee5f77cc6c1590fd37b33abc4262bc7 /Source/CTest/cmCTestRunTest.cxx | |
parent | 0d400c373e2f9a6a4a4c07dffbcb91d501e0bb9b (diff) | |
parent | 8f8c1edca2f577e2fc0507186c033cdfd2b28d4f (diff) | |
download | CMake-73144a8f1c9cf31f79ac852aa75e1c75819c6062.zip CMake-73144a8f1c9cf31f79ac852aa75e1c75819c6062.tar.gz CMake-73144a8f1c9cf31f79ac852aa75e1c75819c6062.tar.bz2 |
Merge branch 'fix_ctest_failure_code'
Diffstat (limited to 'Source/CTest/cmCTestRunTest.cxx')
-rw-r--r-- | Source/CTest/cmCTestRunTest.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestRunTest.cxx b/Source/CTest/cmCTestRunTest.cxx index 9fb8827..3719d45 100644 --- a/Source/CTest/cmCTestRunTest.cxx +++ b/Source/CTest/cmCTestRunTest.cxx @@ -221,7 +221,7 @@ bool cmCTestRunTest::EndTest(size_t completed, size_t total, bool started) { outputTestErrorsToConsole = this->CTest->OutputTestOutputOnTestFailure; cmCTestLog(this->CTest, HANDLER_OUTPUT, "***Exception: "); - switch ( retVal ) + switch(this->TestProcess->GetExitException()) { case cmsysProcess_Exception_Fault: cmCTestLog(this->CTest, HANDLER_OUTPUT, "SegFault"); |