diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2019-05-06 21:38:38 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2019-05-06 21:38:38 (GMT) |
commit | df35529e3d0529e9df11806d267ef8c4779b79e3 (patch) | |
tree | 591c6f40f5d75551260baafbfa2c43d8c3607215 | |
parent | e0ff0e8dd5670d998cb580af9d2749214297492b (diff) | |
download | hdf5-df35529e3d0529e9df11806d267ef8c4779b79e3.zip hdf5-df35529e3d0529e9df11806d267ef8c4779b79e3.tar.gz hdf5-df35529e3d0529e9df11806d267ef8c4779b79e3.tar.bz2 |
Putting ctest command in variable CMD did not work for skipping failing
tests.
-rw-r--r-- | bin/batch/ctestP.sl.in.cmake | 6 | ||||
-rw-r--r-- | bin/batch/knl_ctestP.sl.in.cmake | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/bin/batch/ctestP.sl.in.cmake b/bin/batch/ctestP.sl.in.cmake index 8d216d6..592d37d 100644 --- a/bin/batch/ctestP.sl.in.cmake +++ b/bin/batch/ctestP.sl.in.cmake @@ -8,9 +8,7 @@ #SBATCH --job-name=h5_ctestP cd @HDF5_BINARY_DIR@ -CMD="ctest . -R MPI_TEST_ -E t_cache_image -C Release -T test" +ctest . -R MPI_TEST_ -E t_cache_image -C Release -T test >& ctestP.out -echo "Run $CMD. Test output will be in build/ctestP.out" -$CMD >& ctestP.out -echo "Done running $CMD" +echo "Done running ctestP.sl" diff --git a/bin/batch/knl_ctestP.sl.in.cmake b/bin/batch/knl_ctestP.sl.in.cmake index 79dfb89..73c5ac5 100644 --- a/bin/batch/knl_ctestP.sl.in.cmake +++ b/bin/batch/knl_ctestP.sl.in.cmake @@ -6,13 +6,11 @@ #SBATCH --mail-type=BEGIN,END,FAIL ##SBATCH --mail-user=<username>@sandia.gov #SBATCH --export=ALL -#SBATCH --job-name=h5_ctestS +#SBATCH --job-name=h5_ctestP cd @HDF5_BINARY_DIR@ #run parallel tests except t_cache_image test -CMD="ctest . -R MPI_TEST_ -E t_cache_image -C Release -T test" +ctest . -R MPI_TEST_ -E t_cache_image -C Release -T test >& ctestP.out -echo "Run $CMD. Test output will be in build/ctestP.out" -$CMD >& ctestP.out echo "Done running $CMD" |