summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-05-15 19:39:43 (GMT)
committerBrad King <brad.king@kitware.com>2009-05-15 19:39:43 (GMT)
commit2bb13f2ca5bad12a50378b47565e3c3ea3b69dcf (patch)
treed5dbbe806dbf8088aa9ae3ed903969eb8707f351 /Source
parent6d357676d9ac2ff51d762c3b6502e360d05dd94a (diff)
downloadCMake-2bb13f2ca5bad12a50378b47565e3c3ea3b69dcf.zip
CMake-2bb13f2ca5bad12a50378b47565e3c3ea3b69dcf.tar.gz
CMake-2bb13f2ca5bad12a50378b47565e3c3ea3b69dcf.tar.bz2
ENH: Remove CTest public.kitware.com drop default
Previously CTest would drop dashboard submissions at public.kitware.com on the PublicDashboard project if there was no configuration. The server no longer supports forwarding to cdash.org, so there is no point in this default. Furthermore, there should be no default at all because it could leak information about proprietary projects that are not configured correctly.
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/cmCTestSubmitCommand.cxx40
1 files changed, 6 insertions, 34 deletions
diff --git a/Source/CTest/cmCTestSubmitCommand.cxx b/Source/CTest/cmCTestSubmitCommand.cxx
index 2b317a4..028edfe 100644
--- a/Source/CTest/cmCTestSubmitCommand.cxx
+++ b/Source/CTest/cmCTestSubmitCommand.cxx
@@ -38,43 +38,15 @@ cmCTestGenericHandler* cmCTestSubmitCommand::InitializeHandler()
ctestDropMethod = "http";
}
- if ( ctestDropSiteCDash )
+ if ( !ctestDropSite )
{
- // drop site is a CDash server...
- //
- if ( !ctestDropSite )
- {
- // error: CDash requires CTEST_DROP_SITE definition
- // in CTestConfig.cmake
- }
- if ( !ctestDropLocation )
- {
- // error: CDash requires CTEST_DROP_LOCATION definition
- // in CTestConfig.cmake
- }
+ // error: CDash requires CTEST_DROP_SITE definition
+ // in CTestConfig.cmake
}
- else
+ if ( !ctestDropLocation )
{
- // drop site is a *NOT* a CDash server...
- //
- // Keep all this code in case anybody out there is still
- // using newer CMake with non-CDash servers
- //
- if ( !ctestDropSite )
- {
- ctestDropSite = "public.kitware.com";
- }
- if ( !ctestDropLocation )
- {
- ctestDropLocation = "/cgi-bin/HTTPUploadDartFile.cgi";
- }
- if ( !ctestTriggerSite )
- {
- ctestTriggerSite
- = "http://public.kitware.com/cgi-bin/Submit-Random-TestingResults.cgi";
- cmCTestLog(this->CTest, HANDLER_OUTPUT, "* Use default trigger site: "
- << ctestTriggerSite << std::endl;);
- }
+ // error: CDash requires CTEST_DROP_LOCATION definition
+ // in CTestConfig.cmake
}
this->CTest->SetCTestConfiguration("DropMethod", ctestDropMethod);