summaryrefslogtreecommitdiffstats
path: root/bin/batch/ctestS.sl.in.cmake
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-03-30 03:35:56 (GMT)
committerGitHub <noreply@github.com>2023-03-30 03:35:56 (GMT)
commit70fa97e271ffdfa21b0a57206928c0f9bac89c2b (patch)
tree54d219d2a64af8cd266573bcea317eec9bf9f4fc /bin/batch/ctestS.sl.in.cmake
parentda9310d08fc3ee9dd8e24f900d0947c51f8a2b00 (diff)
downloadhdf5-70fa97e271ffdfa21b0a57206928c0f9bac89c2b.zip
hdf5-70fa97e271ffdfa21b0a57206928c0f9bac89c2b.tar.gz
hdf5-70fa97e271ffdfa21b0a57206928c0f9bac89c2b.tar.bz2
Fix CMake for version less then 3.18 (#2651)
Diffstat (limited to 'bin/batch/ctestS.sl.in.cmake')
-rw-r--r--bin/batch/ctestS.sl.in.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/batch/ctestS.sl.in.cmake b/bin/batch/ctestS.sl.in.cmake
index 4f96bb9..bf0d6ae 100644
--- a/bin/batch/ctestS.sl.in.cmake
+++ b/bin/batch/ctestS.sl.in.cmake
@@ -8,8 +8,8 @@
#SBATCH --job-name=h5_ctestS
cd @HDF5_BINARY_DIR@
-CMD="ctest . -E MPI_TEST_ -C Release -j 32 -T test"
+echo "Run command. Test output will be in build/ctestS.out"
+ctest -S ctest_serial.cmake >& ctestS.out
-echo "Run $CMD. Test output will be in build/ctestS.out"
-$CMD >& ctestS.out
-echo "Done running $CMD"
+echo "Done running command."
+touch ctestS.done