diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2009-12-11 19:10:37 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2009-12-11 19:10:37 (GMT) |
commit | b2e7da885d44c56c48a61d89a34f66b6f514e52e (patch) | |
tree | febacfbcf3d90ebf499da879cf8321ebdae51be0 /Source/CTest/cmCTestSubmitHandler.h | |
parent | 146cb98cb0d5d6f7348e8d7c3c9087c8b5aa49bc (diff) | |
download | CMake-b2e7da885d44c56c48a61d89a34f66b6f514e52e.zip CMake-b2e7da885d44c56c48a61d89a34f66b6f514e52e.tar.gz CMake-b2e7da885d44c56c48a61d89a34f66b6f514e52e.tar.bz2 |
Added a "-http1.0" option to ctest to make it submit using curl's http 1.0 option. Also added parsing of html reponse output to determine whether errors or warnings were sent in response from the server. If errors or warnings occurred, the response is output to stdout, and the "submission successful" message has been changed to accurately reflect whether or not warnings or errors were returned with the response.
Diffstat (limited to 'Source/CTest/cmCTestSubmitHandler.h')
-rw-r--r-- | Source/CTest/cmCTestSubmitHandler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestSubmitHandler.h b/Source/CTest/cmCTestSubmitHandler.h index d93f94d..8b011ea 100644 --- a/Source/CTest/cmCTestSubmitHandler.h +++ b/Source/CTest/cmCTestSubmitHandler.h @@ -75,6 +75,8 @@ private: const cmStdString& remoteprefix, const cmStdString& url); + void ParseResponse(std::vector<char>); + std::string GetSubmitResultsPrefix(); cmStdString HTTPProxy; @@ -85,6 +87,8 @@ private: std::ostream* LogFile; bool SubmitPart[cmCTest::PartCount]; bool CDash; + bool HasWarnings; + bool HasErrors; cmCTest::SetOfStrings Files; }; |