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)
|
2011-08-10 03:13:26 +08:00
|
|
|
SET (CTEST_PROJECT_NAME "HDF5")
|
2011-11-15 00:37:20 +08:00
|
|
|
SET (CTEST_NIGHTLY_START_TIME "18:00:00 CST")
|
2010-05-14 00:01:50 +08:00
|
|
|
|
2010-11-02 22:56:12 +08:00
|
|
|
SET (CTEST_DROP_METHOD "http")
|
2011-04-11 23:18:12 +08:00
|
|
|
IF (CDASH_LOCAL)
|
|
|
|
SET (CTEST_DROP_SITE "nei.hdfgroup.uiuc.edu")
|
|
|
|
SET (CTEST_DROP_LOCATION "/cdash/submit.php?project=HDF5+Trunk")
|
|
|
|
ELSE (CDASH_LOCAL)
|
|
|
|
SET (CTEST_DROP_SITE "cdash.hdfgroup.uiuc.edu")
|
|
|
|
SET (CTEST_DROP_LOCATION "/submit.php?project=HDF5+Trunk")
|
|
|
|
ENDIF (CDASH_LOCAL)
|
2010-11-02 22:56:12 +08:00
|
|
|
SET (CTEST_DROP_SITE_CDASH TRUE)
|
2010-09-01 04:15:13 +08:00
|
|
|
|
2010-11-02 22:56:12 +08:00
|
|
|
SET (UPDATE_TYPE svn)
|
|
|
|
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
|
|
|
|
2012-01-23 22:17:39 +08:00
|
|
|
SET (CTEST_TEST_TIMEOUT 3600 CACHE STRING
|
2011-12-30 23:33:06 +08:00
|
|
|
"Maximum time allowed before CTest will kill the test.")
|
|
|
|
SET (DART_TESTING_TIMEOUT 3600 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
|
|
|
|
2011-12-30 23:33:06 +08:00
|
|
|
SET(CTEST_SUBMIT_RETRY_DELAY 20 CACHE STRING
|
|
|
|
"How long to wait between timed-out CTest submissions.")
|