summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmProcess.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2017-07-11 15:22:45 (GMT)
committerBrad King <brad.king@kitware.com>2017-07-12 17:29:21 (GMT)
commit0c650f39659a62c03012ec07dc32effd3bfba6e8 (patch)
tree33a1deb8d5e1e60746b5b0fe1987fe04f4f852ca /Source/CTest/cmProcess.cxx
parent1fda77d45565c3a819e6149597c3a194d9ccd0bb (diff)
downloadCMake-0c650f39659a62c03012ec07dc32effd3bfba6e8.zip
CMake-0c650f39659a62c03012ec07dc32effd3bfba6e8.tar.gz
CMake-0c650f39659a62c03012ec07dc32effd3bfba6e8.tar.bz2
CTest: Report more detail about system exceptions in tests
This passes the system exception string up to CDash and to the command line instead of just printing "other".
Diffstat (limited to 'Source/CTest/cmProcess.cxx')
-rw-r--r--Source/CTest/cmProcess.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CTest/cmProcess.cxx b/Source/CTest/cmProcess.cxx
index f4ec6da..9680a69 100644
--- a/Source/CTest/cmProcess.cxx
+++ b/Source/CTest/cmProcess.cxx
@@ -240,3 +240,8 @@ int cmProcess::GetExitException()
{
return cmsysProcess_GetExitException(this->Process);
}
+
+std::string cmProcess::GetExitExceptionString()
+{
+ return cmsysProcess_GetExceptionString(this->Process);
+}