ENH: Add XMLRPC support

This commit is contained in:
Andy Cedilnik 2006-04-28 11:58:33 -04:00
parent 3006560d86
commit 185c282bd3
1 changed files with 20 additions and 4 deletions

View File

@ -1,7 +1,23 @@
SET (CTEST_PROJECT_NAME "CMake") SET (CTEST_PROJECT_NAME "CMake")
SET (CTEST_NIGHTLY_START_TIME "21:00:00 EDT") SET (CTEST_NIGHTLY_START_TIME "21:00:00 EDT")
SET (CTEST_DROP_METHOD "http")
MACRO(SET_IF_NOT_SET var val)
IF(NOT DEFINED "${var}")
SET("${var}" "${val}")
ENDIF(NOT DEFINED "${var}")
ENDMACRO(SET_IF_NOT_SET)
SET_IF_NOT_SET(CTEST_DROP_METHOD "http")
IF(CTEST_DROP_METHOD STREQUAL "http")
SET (CTEST_DROP_SITE "public.kitware.com") SET (CTEST_DROP_SITE "public.kitware.com")
SET (CTEST_DROP_LOCATION "/cgi-bin/HTTPUploadDartFile.cgi") SET (CTEST_DROP_LOCATION "/cgi-bin/HTTPUploadDartFile.cgi")
SET (CTEST_TRIGGER_SITE "http://${CTEST_DROP_SITE}/cgi-bin/Submit-CMake-TestingResults.cgi") SET (CTEST_TRIGGER_SITE "http://${CTEST_DROP_SITE}/cgi-bin/Submit-CMake-TestingResults.cgi")
ENDIF(CTEST_DROP_METHOD STREQUAL "http")
IF(CTEST_DROP_METHOD STREQUAL "xmlrpc")
SET (CTEST_DROP_SITE "http://www.na-mic.org:8081")
SET (CTEST_DROP_LOCATION "CMake")
SET (CTEST_TRIGGER_SITE "not used")
SET (COMPRESS_SUBMISSION ON)
ENDIF(CTEST_DROP_METHOD STREQUAL "xmlrpc")