summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestHandler.h
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/cmCTestTestHandler.h
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/cmCTestTestHandler.h')
-rw-r--r--Source/CTest/cmCTestTestHandler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestTestHandler.h b/Source/CTest/cmCTestTestHandler.h
index 0edcb14..c46c511 100644
--- a/Source/CTest/cmCTestTestHandler.h
+++ b/Source/CTest/cmCTestTestHandler.h
@@ -144,6 +144,7 @@ public:
double ExecutionTime;
int ReturnValue;
int Status;
+ std::string ExceptionStatus;
bool CompressOutput;
std::string CompletionStatus;
std::string Output;
@@ -262,7 +263,7 @@ private:
*/
std::string FindTheExecutable(const char* exe);
- const char* GetTestStatus(int status);
+ const char* GetTestStatus(const cmCTestTestResult*);
void ExpandTestsToRunInformation(size_t numPossibleTests);
void ExpandTestsToRunInformationForRerunFailed();