[Cmake-commits] [cmake-commits] hoffman committed cmCTestSubmitHandler.cxx 1.38 1.39
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Mar 12 14:54:02 EDT 2009
Update of /cvsroot/CMake/CMake/Source/CTest
In directory public:/mounts/ram/cvs-serv12992
Modified Files:
cmCTestSubmitHandler.cxx
Log Message:
ENH: allow for https submission if ctest is built with a curl that supports it
Index: cmCTestSubmitHandler.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestSubmitHandler.cxx,v
retrieving revision 1.38
retrieving revision 1.39
diff -C 2 -d -r1.38 -r1.39
*** cmCTestSubmitHandler.cxx 4 Feb 2009 17:38:03 -0000 1.38
--- cmCTestSubmitHandler.cxx 12 Mar 2009 18:54:00 -0000 1.39
***************
*** 1011,1022 ****
}
}
! else if ( dropMethod == "http" )
{
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 )
{
url += this->CTest->GetCTestConfiguration("DropSiteUser");
--- 1011,1023 ----
}
}
! 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:" << url);
! if ( this->CTest->GetCTestConfiguration("DropSiteUser").size() > 0 )
{
url += this->CTest->GetCTestConfiguration("DropSiteUser");
More information about the Cmake-commits
mailing list