diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2009-12-15 17:07:15 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2009-12-15 17:07:15 (GMT) |
commit | dc66139f7c03a348fca8f7771ebc3e23eb9361d3 (patch) | |
tree | d533f37d8239afa4fd9d68c32f42c7df87314032 /Source/CTest/cmCTestTestHandler.h | |
parent | a830786c4438650c2efa5047210d184188ff4db8 (diff) | |
download | CMake-dc66139f7c03a348fca8f7771ebc3e23eb9361d3.zip CMake-dc66139f7c03a348fca8f7771ebc3e23eb9361d3.tar.gz CMake-dc66139f7c03a348fca8f7771ebc3e23eb9361d3.tar.bz2 |
CTest-side changes to allow users to attach arbitrary files to test results that will be submitted to cdash using the ATTACHED_FILES test property.
Diffstat (limited to 'Source/CTest/cmCTestTestHandler.h')
-rw-r--r-- | Source/CTest/cmCTestTestHandler.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestTestHandler.h b/Source/CTest/cmCTestTestHandler.h index 1afa3d3..0e0cffd 100644 --- a/Source/CTest/cmCTestTestHandler.h +++ b/Source/CTest/cmCTestTestHandler.h @@ -86,6 +86,7 @@ public: std::vector<std::string> Args; std::vector<std::string> RequiredFiles; std::vector<std::string> Depends; + std::vector<std::string> AttachedFiles; std::vector<std::pair<cmsys::RegularExpression, std::string> > ErrorRegularExpressions; std::vector<std::pair<cmsys::RegularExpression, @@ -143,6 +144,10 @@ protected: void WriteTestResultHeader(std::ostream& os, cmCTestTestResult* result); void WriteTestResultFooter(std::ostream& os, cmCTestTestResult* result); + // Write attached test files into the xml + void AttachFiles(std::ostream& os, cmCTestTestResult* result); + // Helper function to encode attached test files + std::string EncodeFiles(cmCTestTestResult* result); //! Clean test output to specified length bool CleanTestOutput(std::string& output, size_t length); |