summaryrefslogtreecommitdiffstats
path: root/HDF5Examples/CTestConfig.cmake
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-11-27 21:30:15 (GMT)
committerGitHub <noreply@github.com>2023-11-27 21:30:15 (GMT)
commitfc88fcde1091cf12c1e88c783a14ee0f1cffe31c (patch)
tree91b88b62cd30ed37ee9227e43989e95035be43c3 /HDF5Examples/CTestConfig.cmake
parenta067bf71f57723d2dfca7dfe2ffd9ea502eccd4f (diff)
downloadhdf5-fc88fcde1091cf12c1e88c783a14ee0f1cffe31c.zip
hdf5-fc88fcde1091cf12c1e88c783a14ee0f1cffe31c.tar.gz
hdf5-fc88fcde1091cf12c1e88c783a14ee0f1cffe31c.tar.bz2
Develop merge examples (#3851)
* Merge examples repo into library * Change grepTest to be more fault-tolerant * Update examples macro file * Exclude all Fortran examples from doxygen
Diffstat (limited to 'HDF5Examples/CTestConfig.cmake')
-rw-r--r--HDF5Examples/CTestConfig.cmake27
1 files changed, 27 insertions, 0 deletions
diff --git a/HDF5Examples/CTestConfig.cmake b/HDF5Examples/CTestConfig.cmake
new file mode 100644
index 0000000..44e26e2
--- /dev/null
+++ b/HDF5Examples/CTestConfig.cmake
@@ -0,0 +1,27 @@
+## 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_NIGHTLY_START_TIME "18:00:00 CST")
+set (CTEST_PROJECT_NAME "HDF5Examples")
+
+set (CTEST_DROP_METHOD "https")
+if (CDASH_LOCAL)
+ set (CTEST_DROP_SITE "cdash-internal.hdfgroup.org")
+ set (CTEST_DROP_LOCATION "/submit.php?project=HDF5Examples")
+else ()
+ set (CTEST_DROP_SITE "cdash.hdfgroup.org")
+ 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)