diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2015-01-14 15:54:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-01-20 14:33:21 (GMT) |
commit | 5dc33f89b5405f1fbcefb9783ea2050a3686d7de (patch) | |
tree | d138db877c27238535c72fe56266f21553e5680b /Source/CTest/cmCTestSubmitHandler.h | |
parent | 17cfa09eb2a78349a6471e4719bc933dd0625d9e (diff) | |
download | CMake-5dc33f89b5405f1fbcefb9783ea2050a3686d7de.zip CMake-5dc33f89b5405f1fbcefb9783ea2050a3686d7de.tar.gz CMake-5dc33f89b5405f1fbcefb9783ea2050a3686d7de.tar.bz2 |
ctest_submit: Add CDASH_UPLOAD mode to upload files to CDash
This adds support for the new cdash API where arbitrary files can be
uploaded to the CDash server. This CDash API communicates via json
files so the json parser jsoncpp was added to the Utilities directory.
Diffstat (limited to 'Source/CTest/cmCTestSubmitHandler.h')
-rw-r--r-- | Source/CTest/cmCTestSubmitHandler.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestSubmitHandler.h b/Source/CTest/cmCTestSubmitHandler.h index accabd1..f9cd894 100644 --- a/Source/CTest/cmCTestSubmitHandler.h +++ b/Source/CTest/cmCTestSubmitHandler.h @@ -41,6 +41,11 @@ public: /** Specify a set of files to submit. */ void SelectFiles(cmCTest::SetOfStrings const& files); + // handle the cdash file upload protocol + int HandleCDashUploadFile(std::string const& file, std::string const& type); + + void ConstructCDashURL(std::string& dropMethod, std::string& url); + private: void SetLogFile(std::ostream* ost) { this->LogFile = ost; } |