summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2022-11-02 16:02:47 (GMT)
committerGitHub <noreply@github.com>2022-11-02 16:02:47 (GMT)
commit6924d590cc9cead8e250cb7d70f8d18f4da46a07 (patch)
tree051b418f36828eb3b9bc48af821ef951f29113a0 /src
parente4fb9aa96ef805e2dada8a78c32aab8cf8c34f4a (diff)
downloadhdf5-6924d590cc9cead8e250cb7d70f8d18f4da46a07.zip
hdf5-6924d590cc9cead8e250cb7d70f8d18f4da46a07.tar.gz
hdf5-6924d590cc9cead8e250cb7d70f8d18f4da46a07.tar.bz2
Use ctest_test and APPEND to correctly report passed and failed test numbers in CDash (#2208)
* Change how HPC tests are executed * Move ctest_test commands for serial and parallel tests into cmake files. * Update checks for uploading Test.xml to CDash. * Correct cmake scripots. * Remove extraneous characters. * Add ctest_start (APPEND). * Add binary directories to scripts running ctest_test. * Correct parameters for appending Test.xml. * Set CTEST_SITE and CTEST_BUILD_NAME. * Try to pass site and build_name to ctest_test sripts. * Add site name and build name for ctest_test commands vi environment. * Revert "Try to pass site and build_name to ctest_test sripts." This reverts commit d364aaf0fa65ee7f9e222b2633ee916d50afbc42. * Correct typo in src/CMakeLists.txt. * Update batch scripts to run ctest_test scripts. Co-authored-by: Allen Byrne <byrn@hdfgroup.org>
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index fe96011..355881d 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1047,6 +1047,14 @@ if (BUILD_SHARED_LIBS)
endif ()
if (LOCAL_BATCH_TEST)
+ configure_file (
+ ${HDF5_SOURCE_DIR}/bin/batch/ctest_serial.cmake.in
+ ${HDF5_BINARY_DIR}/ctest_serial.cmake ESCAPE_QUOTES @ONLY
+ )
+ configure_file (
+ ${HDF5_SOURCE_DIR}/bin/batch/ctest_parallel.cmake.in
+ ${HDF5_BINARY_DIR}/ctest_parallel.cmake ESCAPE_QUOTES @ONLY
+ )
if (LOCAL_BATCH_SCRIPT_COMMAND STREQUAL "raybsub")
configure_file (
${HDF5_SOURCE_DIR}/bin/batch/${LOCAL_BATCH_SCRIPT_COMMAND}