summaryrefslogtreecommitdiffstats
path: root/CTestConfig.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'CTestConfig.cmake')
-rw-r--r--CTestConfig.cmake21
1 files changed, 16 insertions, 5 deletions
diff --git a/CTestConfig.cmake b/CTestConfig.cmake
index 6bad67e..5b35688 100644
--- a/CTestConfig.cmake
+++ b/CTestConfig.cmake
@@ -19,12 +19,23 @@ set (CTEST_PROJECT_NAME "HDF5")
set (CTEST_NIGHTLY_START_TIME "18:00:00 CST")
set (CTEST_DROP_METHOD "http")
-if (CDASH_LOCAL)
- set (CTEST_DROP_SITE "cdash-internal.hdfgroup.org")
- set (CTEST_DROP_LOCATION "/submit.php?project=HDF5Trunk")
+if (CTEST_DROP_SITE_INIT)
+ set (CTEST_DROP_SITE "${CTEST_DROP_SITE_INIT}")
else ()
- set (CTEST_DROP_SITE "cdash.hdfgroup.org")
- set (CTEST_DROP_LOCATION "/submit.php?project=HDF5")
+ if (CDASH_LOCAL)
+ set (CTEST_DROP_SITE "cdash-internal.hdfgroup.org")
+ else ()
+ set (CTEST_DROP_SITE "cdash.hdfgroup.org")
+ endif ()
+endif ()
+if (CTEST_DROP_LOCATION_INIT)
+ set (CTEST_DROP_LOCATION "${CTEST_DROP_LOCATION_INIT}")
+else ()
+ if (CDASH_LOCAL)
+ set (CTEST_DROP_LOCATION "/submit.php?project=HDF5Trunk")
+ else ()
+ set (CTEST_DROP_LOCATION "/submit.php?project=HDF5")
+ endif ()
endif ()
set (CTEST_DROP_SITE_CDASH TRUE)