summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestHandler.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-10-13 13:30:33 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-10-13 13:30:33 (GMT)
commit2f713072c7a5676c89c0a31efa90a67dcb923c90 (patch)
treee0bf20697ba7cc12d3eb8ef598f977af1060ea4d /Source/CTest/cmCTestTestHandler.h
parent052cb7753bfb30436c7996181d5676ca9b24ecce (diff)
downloadCMake-2f713072c7a5676c89c0a31efa90a67dcb923c90.zip
CMake-2f713072c7a5676c89c0a31efa90a67dcb923c90.tar.gz
CMake-2f713072c7a5676c89c0a31efa90a67dcb923c90.tar.bz2
ENH: Report command line as a measurement and allow user to add custom measurements
Diffstat (limited to 'Source/CTest/cmCTestTestHandler.h')
-rw-r--r--Source/CTest/cmCTestTestHandler.h30
1 files changed, 16 insertions, 14 deletions
diff --git a/Source/CTest/cmCTestTestHandler.h b/Source/CTest/cmCTestTestHandler.h
index c1d3c8f..1b47e55 100644
--- a/Source/CTest/cmCTestTestHandler.h
+++ b/Source/CTest/cmCTestTestHandler.h
@@ -73,20 +73,6 @@ public:
*/
bool SetTestsProperties(const std::vector<std::string>& args);
- struct cmCTestTestResult
- {
- std::string Name;
- std::string Path;
- std::string FullCommandLine;
- double ExecutionTime;
- int ReturnValue;
- int Status;
- std::string CompletionStatus;
- std::string Output;
- std::string RegressionImages;
- int TestCount;
- };
-
void Initialize();
protected:
@@ -97,10 +83,26 @@ protected:
std::vector<std::string> Args;
std::vector<cmsys::RegularExpression> ErrorRegularExpressions;
std::vector<cmsys::RegularExpression> RequiredRegularExpressions;
+ std::map<cmStdString, cmStdString> Measurements;
bool IsInBasedOnREOptions;
bool WillFail;
};
+ struct cmCTestTestResult
+ {
+ std::string Name;
+ std::string Path;
+ std::string FullCommandLine;
+ double ExecutionTime;
+ int ReturnValue;
+ int Status;
+ std::string CompletionStatus;
+ std::string Output;
+ std::string RegressionImages;
+ int TestCount;
+ cmCTestTestProperties* Properties;
+ };
+
virtual int PreProcessHandler();
virtual int PostProcessHandler();