diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-03-12 18:54:00 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-03-12 18:54:00 (GMT) |
commit | 0a65ee8d95f20b1d4a499fc044ddf97a0c28c9b8 (patch) | |
tree | 0a88b2bcc916892721c9945f7c64cfb0be1dcee3 | |
parent | d96e7e0e5a02b6d9e5af50f3648144ff594d9230 (diff) | |
download | CMake-0a65ee8d95f20b1d4a499fc044ddf97a0c28c9b8.zip CMake-0a65ee8d95f20b1d4a499fc044ddf97a0c28c9b8.tar.gz CMake-0a65ee8d95f20b1d4a499fc044ddf97a0c28c9b8.tar.bz2 |
ENH: allow for https submission if ctest is built with a curl that supports it
-rw-r--r-- | Source/CTest/cmCTestSubmitHandler.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/CTest/cmCTestSubmitHandler.cxx b/Source/CTest/cmCTestSubmitHandler.cxx index d5e0434..8fb87e0 100644 --- a/Source/CTest/cmCTestSubmitHandler.cxx +++ b/Source/CTest/cmCTestSubmitHandler.cxx @@ -1010,14 +1010,15 @@ int cmCTestSubmitHandler::ProcessHandler() return 0; } } - else if ( dropMethod == "http" ) + else if ( dropMethod == "http" || dropMethod == "https" ) { + std::string url = dropMethod; + url += "://"; ofs << "Using drop method: HTTP" << std::endl; cmCTestLog(this->CTest, HANDLER_OUTPUT, " Using HTTP submit method" << std::endl - << " Drop site: http://"); - std::string url = "http://"; - if ( this->CTest->GetCTestConfiguration("DropSiteUser").size() > 0 ) + << " Drop site:" << url); + if ( this->CTest->GetCTestConfiguration("DropSiteUser").size() > 0 ) { url += this->CTest->GetCTestConfiguration("DropSiteUser"); cmCTestLog(this->CTest, HANDLER_OUTPUT, |