mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-12 17:31:09 +08:00
Putting ctest command in variable CMD did not work for skipping failing
tests.
This commit is contained in:
parent
e0ff0e8dd5
commit
df35529e3d
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user