summaryrefslogtreecommitdiffstats
path: root/bin/batch/ctestP.sl.in.cmake
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2019-01-05 13:49:19 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2019-01-05 13:49:19 (GMT)
commit25fe692c5c5c37a904a0d2ba3f447e60396c30da (patch)
treef45636a8e6b03f9e1506f1707842a48dae533297 /bin/batch/ctestP.sl.in.cmake
parentf9736d817e4b2e1c5ced39b232323c3b3f87d46a (diff)
downloadhdf5-25fe692c5c5c37a904a0d2ba3f447e60396c30da.zip
hdf5-25fe692c5c5c37a904a0d2ba3f447e60396c30da.tar.gz
hdf5-25fe692c5c5c37a904a0d2ba3f447e60396c30da.tar.bz2
Configure build directory in batch scripts.
Diffstat (limited to 'bin/batch/ctestP.sl.in.cmake')
-rw-r--r--bin/batch/ctestP.sl.in.cmake16
1 files changed, 16 insertions, 0 deletions
diff --git a/bin/batch/ctestP.sl.in.cmake b/bin/batch/ctestP.sl.in.cmake
new file mode 100644
index 0000000..230a642
--- /dev/null
+++ b/bin/batch/ctestP.sl.in.cmake
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+#SBATCH --nodes=1
+#SBATCH -t 00:30:00
+#SBATCH --mail-type=BEGIN,END,FAIL
+##SBATCH --mail-user=<username>@sandia.gov
+#SBATCH --export=ALL
+#SBATCH --job-name=h5_ctestS
+
+cd @HDF5_BINARY_DIR@
+CMD="ctest . -R TEST_PAR|PH5DIFF|PERFORM -E t_cache_image -C Release -T test"
+
+echo "Run $CMD. Test output will be in build/ctestP.out"
+$CMD >& ctestP.out
+echo "Done running $CMD"
+