summaryrefslogtreecommitdiffstats
path: root/HDF5Examples/CTestConfig.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'HDF5Examples/CTestConfig.cmake')
-rw-r--r--HDF5Examples/CTestConfig.cmake24
1 files changed, 19 insertions, 5 deletions
diff --git a/HDF5Examples/CTestConfig.cmake b/HDF5Examples/CTestConfig.cmake
index 44e26e2..aef6da8 100644
--- a/HDF5Examples/CTestConfig.cmake
+++ b/HDF5Examples/CTestConfig.cmake
@@ -1,18 +1,32 @@
+#
+# Copyright by The HDF Group.
+# All rights reserved.
+#
+# This file is part of HDF5. The full HDF5 copyright notice, including
+# terms governing use, modification, and redistribution, is contained in
+# the COPYING file, which can be found at the root of the source code
+# distribution tree, or in https://www.hdfgroup.org/licenses.
+# If you do not have access to either file, you may request a copy from
+# help@hdfgroup.org.
+#
## This file should be placed in the root directory of your project.
## Then modify the CMakeLists.txt file in the root directory of your
## project to incorporate the testing dashboard.
-## # The following are required to uses Dart and the Cdash dashboard
+## # The following are required to use Dart and the CDash dashboard
## ENABLE_TESTING()
## INCLUDE(CTest)
-set (CTEST_NIGHTLY_START_TIME "18:00:00 CST")
set (CTEST_PROJECT_NAME "HDF5Examples")
+set (CTEST_NIGHTLY_START_TIME "18:00:00 CST")
set (CTEST_DROP_METHOD "https")
-if (CDASH_LOCAL)
- set (CTEST_DROP_SITE "cdash-internal.hdfgroup.org")
- set (CTEST_DROP_LOCATION "/submit.php?project=HDF5Examples")
+if (CTEST_DROP_SITE_INIT)
+ set (CTEST_DROP_SITE "${CTEST_DROP_SITE_INIT}")
else ()
set (CTEST_DROP_SITE "cdash.hdfgroup.org")
+endif ()
+if (CTEST_DROP_LOCATION_INIT)
+ set (CTEST_DROP_LOCATION "${CTEST_DROP_LOCATION_INIT}")
+else ()
set (CTEST_DROP_LOCATION "/submit.php?project=HDF5Examples")
endif ()
set (CTEST_DROP_SITE_CDASH TRUE)