netcdf-c/nc_test4/run_par_warn_test.sh.in

21 lines
542 B
Bash
Raw Normal View History

2024-09-02 20:09:07 +08:00
#!/bin/sh
# This .in file is processed at build time into a shell that runs some
# parallel I/O tests for netCDF/HDF5 parallel I/O. This tests for
# unexpected output from the HDF5 library. See
# https://github.com/Unidata/netcdf-c/issues/3003.
# Ed Hartnett
set -e
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh
echo
echo "Testing MPI parallel I/O with various other mode flags..."
2024-09-04 21:24:43 +08:00
@MPIEXEC@ -n 1 ./tst_warn > tmp_tst_warn_out.txt 2>&1
cat tmp_tst_warn_out.txt
2024-09-04 21:35:34 +08:00
diff -w tmp_tst_warn_out.txt ref_tmp_tst_warn_out.txt
2024-09-02 20:09:07 +08:00