2017-04-15 05:40:52 +08:00
|
|
|
#
|
|
|
|
# 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://support.hdfgroup.org/ftp/HDF5/releases.
|
|
|
|
# If you do not have access to either file, you may request a copy from
|
|
|
|
# help@hdfgroup.org.
|
|
|
|
#
|
2010-05-14 00:01:50 +08:00
|
|
|
## 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
|
|
|
|
## ENABLE_TESTING()
|
|
|
|
## INCLUDE(CTest)
|
2014-03-12 05:14:57 +08:00
|
|
|
set (CTEST_PROJECT_NAME "HDF5")
|
|
|
|
set (CTEST_NIGHTLY_START_TIME "18:00:00 CST")
|
2010-05-14 00:01:50 +08:00
|
|
|
|
2014-03-12 05:14:57 +08:00
|
|
|
set (CTEST_DROP_METHOD "http")
|
2018-08-09 23:59:32 +08:00
|
|
|
if (CTEST_DROP_SITE_INIT)
|
|
|
|
set (CTEST_DROP_SITE "${CTEST_DROP_SITE_INIT}")
|
2017-01-11 07:09:53 +08:00
|
|
|
else ()
|
2018-08-09 23:59:32 +08:00
|
|
|
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 ()
|
2017-01-11 07:09:53 +08:00
|
|
|
endif ()
|
2014-03-12 05:14:57 +08:00
|
|
|
set (CTEST_DROP_SITE_CDASH TRUE)
|
2010-09-01 04:15:13 +08:00
|
|
|
|
2016-09-16 02:32:26 +08:00
|
|
|
set (UPDATE_TYPE git)
|
2014-03-12 05:14:57 +08:00
|
|
|
set (VALGRIND_COMMAND "/usr/bin/valgrind")
|
|
|
|
set (VALGRIND_COMMAND_OPTIONS "-v --tool=memcheck --leak-check=full --track-fds=yes --num-callers=50 --show-reachable=yes --track-origins=yes --malloc-fill=0xff --free-fill=0xfe")
|
2010-10-28 04:16:17 +08:00
|
|
|
|
2019-02-14 05:53:25 +08:00
|
|
|
set (CTEST_TEST_TIMEOUT 1200 CACHE STRING
|
2015-09-29 01:48:02 +08:00
|
|
|
"Maximum time allowed before CTest will kill the test.")
|
2019-02-14 05:53:25 +08:00
|
|
|
set (DART_TESTING_TIMEOUT 1200 CACHE STRING
|
2012-01-04 01:09:34 +08:00
|
|
|
"Maximum time allowed before CTest will kill the test." FORCE)
|
2011-11-05 00:43:32 +08:00
|
|
|
|
2019-07-31 01:39:20 +08:00
|
|
|
set (CTEST_SUBMIT_RETRY_DELAY 20 CACHE STRING
|
2011-12-30 23:33:06 +08:00
|
|
|
"How long to wait between timed-out CTest submissions.")
|