Putting ctest command in variable CMD did not work for skipping failing

tests.
This commit is contained in:
Larry Knox
2019-05-06 16:38:38 -05:00
parent e0ff0e8dd5
commit df35529e3d
2 changed files with 4 additions and 8 deletions

View File

@@ -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"