Commit 55b44deb authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Also use auxiliary error output file.

parent 590212d9
......@@ -4,12 +4,14 @@ LIBC_FATAL_STDERR_=1
export LIBC_FATAL_STDERR_
[ x"@MPI_LAUNCH@" != xtrue ] || exit 77
ulimit -c 0
trap "rm -f '@abs_builddir@/test_xmap_all2all_fail.result.txt'" 0
for setup_size in small big; do
for suffix in '' '_f'; do
rm -f '@abs_builddir@/test_xmap_all2all_fail.result.txt'
@with_fortran_FALSE@test x"$suffix" != x_f || continue
if diags=`@abs_top_builddir@/libtool --mode=execute \
if diags=`"@abs_top_builddir@/libtool" --mode=execute \
@MPI_LAUNCH@ -n 1 \
@abs_builddir@/test_xmap_all2all_fail$suffix -s $setup_size \
"@abs_builddir@/test_xmap_all2all_fail$suffix" -s $setup_size \
2>&1`; then
exit 1
else
......@@ -17,6 +19,11 @@ for setup_size in small big; do
if [ $rc -ne 3 ]; then
if echo x"$diags" | grep -i 'mpi_abort([^,()]*, 3)' >/dev/null ; then
continue
elif [ -r "@abs_builddir@/test_xmap_all2all_fail.result.txt" ] \
&& grep -i 'mpi_abort([^,()]*, 3)' >/dev/null \
'@abs_builddir@/test_xmap_all2all_fail.result.txt'
then
continue
else
exit 1
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment