summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-08-17 16:36:42 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-08-17 16:36:42 (GMT)
commit811abba1c7fa6301072e4ef7d7e77d289e77563f (patch)
tree8f650a94f845d3bbae54ee0f1c716c2bbf1c38ab
parent820c51d6482e1c51fb70c77c94e284bb52f60f57 (diff)
downloadhdf5-811abba1c7fa6301072e4ef7d7e77d289e77563f.zip
hdf5-811abba1c7fa6301072e4ef7d7e77d289e77563f.tar.gz
hdf5-811abba1c7fa6301072e4ef7d7e77d289e77563f.tar.bz2
Add extra option for CDash
-rw-r--r--CTestConfig.cmake21
1 files changed, 16 insertions, 5 deletions
diff --git a/CTestConfig.cmake b/CTestConfig.cmake
index 4a59b0d..b741bec 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=HDF5110")
+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=HDF5110")
+ else ()
+ set (CTEST_DROP_LOCATION "/submit.php?project=HDF5")
+ endif ()
endif ()
set (CTEST_DROP_SITE_CDASH TRUE)