diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2017-07-11 15:22:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-07-12 17:29:21 (GMT) |
commit | 0c650f39659a62c03012ec07dc32effd3bfba6e8 (patch) | |
tree | 33a1deb8d5e1e60746b5b0fe1987fe04f4f852ca /Source/CTest/cmProcess.cxx | |
parent | 1fda77d45565c3a819e6149597c3a194d9ccd0bb (diff) | |
download | CMake-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.cxx | 5 |
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); +} |