summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-03-12 18:54:00 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-03-12 18:54:00 (GMT)
commit0a65ee8d95f20b1d4a499fc044ddf97a0c28c9b8 (patch)
tree0a88b2bcc916892721c9945f7c64cfb0be1dcee3 /Source/CTest
parentd96e7e0e5a02b6d9e5af50f3648144ff594d9230 (diff)
downloadCMake-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
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestSubmitHandler.cxx9
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,