2024-01-04 04:17:46 +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://www.hdfgroup.org/licenses.
|
|
|
|
# If you do not have access to either file, you may request a copy from
|
|
|
|
# help@hdfgroup.org.
|
|
|
|
#
|
2023-11-28 05:30:15 +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.
|
2024-01-04 04:17:46 +08:00
|
|
|
## # The following are required to use Dart and the CDash dashboard
|
2023-11-28 05:30:15 +08:00
|
|
|
## ENABLE_TESTING()
|
|
|
|
## INCLUDE(CTest)
|
|
|
|
set (CTEST_PROJECT_NAME "HDF5Examples")
|
2024-01-04 04:17:46 +08:00
|
|
|
set (CTEST_NIGHTLY_START_TIME "18:00:00 CST")
|
2023-11-28 05:30:15 +08:00
|
|
|
|
|
|
|
set (CTEST_DROP_METHOD "https")
|
2024-01-04 04:17:46 +08:00
|
|
|
if (CTEST_DROP_SITE_INIT)
|
|
|
|
set (CTEST_DROP_SITE "${CTEST_DROP_SITE_INIT}")
|
2023-11-28 05:30:15 +08:00
|
|
|
else ()
|
|
|
|
set (CTEST_DROP_SITE "cdash.hdfgroup.org")
|
2024-01-04 04:17:46 +08:00
|
|
|
endif ()
|
|
|
|
if (CTEST_DROP_LOCATION_INIT)
|
|
|
|
set (CTEST_DROP_LOCATION "${CTEST_DROP_LOCATION_INIT}")
|
|
|
|
else ()
|
2023-11-28 05:30:15 +08:00
|
|
|
set (CTEST_DROP_LOCATION "/submit.php?project=HDF5Examples")
|
|
|
|
endif ()
|
|
|
|
set (CTEST_DROP_SITE_CDASH TRUE)
|
|
|
|
|
|
|
|
set (UPDATE_TYPE git)
|
|
|
|
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")
|
|
|
|
set (CTEST_MEMORYCHECK_COMMAND "/usr/bin/valgrind")
|
|
|
|
set (CTEST_MEMORYCHECK_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")
|
|
|
|
|
|
|
|
set (CTEST_TESTING_TIMEOUT 1200)
|
|
|
|
set (DART_TESTING_TIMEOUT 1200)
|