diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-10-13 13:30:33 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-10-13 13:30:33 (GMT) |
commit | 2f713072c7a5676c89c0a31efa90a67dcb923c90 (patch) | |
tree | e0bf20697ba7cc12d3eb8ef598f977af1060ea4d /Source/CTest/cmCTestTestHandler.h | |
parent | 052cb7753bfb30436c7996181d5676ca9b24ecce (diff) | |
download | CMake-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.h | 30 |
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(); |