mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-27 08:01:04 +08:00
31 lines
1.5 KiB
CMake
31 lines
1.5 KiB
CMake
## 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)
|
|
SET (CTEST_PROJECT_NAME "HDF5 Trunk")
|
|
|
|
SET (CTEST_DROP_METHOD "http")
|
|
IF (CDASH_LOCAL)
|
|
SET (CTEST_NIGHTLY_START_TIME "20:00:00 CST")
|
|
SET (CTEST_DROP_SITE "nei.hdfgroup.uiuc.edu")
|
|
SET (CTEST_DROP_LOCATION "/cdash/submit.php?project=HDF5+Trunk")
|
|
ELSE (CDASH_LOCAL)
|
|
SET (CTEST_NIGHTLY_START_TIME "00:00:00 EST")
|
|
SET (CTEST_DROP_SITE "cdash.hdfgroup.uiuc.edu")
|
|
SET (CTEST_DROP_LOCATION "/submit.php?project=HDF5+Trunk")
|
|
ENDIF (CDASH_LOCAL)
|
|
SET (CTEST_DROP_SITE_CDASH TRUE)
|
|
|
|
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")
|
|
SET (MEMORYCHECK_COMMAND "/usr/bin/valgrind")
|
|
SET (MEMORYCHECKCOMMAND "/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_MEMORYCHECKCOMMAND_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)
|