ENH: allow for https submission if ctest is built with a curl that supports it

This commit is contained in:
Bill Hoffman 2009-03-12 14:54:00 -04:00
parent d96e7e0e5a
commit 0a65ee8d95
1 changed files with 5 additions and 4 deletions

View File

@ -1010,13 +1010,14 @@ 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://";
<< " Drop site:" << url);
if ( this->CTest->GetCTestConfiguration("DropSiteUser").size() > 0 )
{
url += this->CTest->GetCTestConfiguration("DropSiteUser");