diff options
author | David Young <dyoung@hdfgroup.org> | 2020-05-28 20:33:41 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-28 20:33:41 (GMT) |
commit | 91d388a41c9ceb120f4d7a5ff6d7599af8cb22d7 (patch) | |
tree | e9a45b253ab98c2788f812c7ec03d3971611a868 /test/testvfdswmr.sh.in | |
parent | cb73324ce58e4bd326534d7b908fbcbaf54bea87 (diff) | |
download | hdf5-91d388a41c9ceb120f4d7a5ff6d7599af8cb22d7.zip hdf5-91d388a41c9ceb120f4d7a5ff6d7599af8cb22d7.tar.gz hdf5-91d388a41c9ceb120f4d7a5ff6d7599af8cb22d7.tar.bz2 |
Don't count up errors *and* exit right away when there is an error. Just
count.
Diffstat (limited to 'test/testvfdswmr.sh.in')
-rw-r--r-- | test/testvfdswmr.sh.in | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/test/testvfdswmr.sh.in b/test/testvfdswmr.sh.in index 10fe3f2..1090fde 100644 --- a/test/testvfdswmr.sh.in +++ b/test/testvfdswmr.sh.in @@ -190,13 +190,6 @@ do echo generator had error nerrors=`expr $nerrors + 1` fi - - # Check for error and exit if one occured - $DPRINT nerrors=$nerrors - if test $nerrors -ne 0 ; then - echo "VFD SWMR tests failed with $nerrors errors." - exit 1 - fi fi if [ ${do_expand:-no} = yes ]; then @@ -266,14 +259,6 @@ do nerrors=$((nerrors + 1)) fi - # Check for error and exit if one occured - $DPRINT nerrors=$nerrors - if test $nerrors -ne 0 ; then - echo "VFD SWMR tests failed with $nerrors errors." - echo "(Writer and reader output preserved)" - exit 1 - fi - # Clean up output files rm -f vfd_swmr_writer.{out,rc} rm -f vfd_swmr_reader.*.{out,rc} @@ -341,14 +326,6 @@ do nerrors=$((nerrors + 1)) fi - # Check for error and exit if one occured - $DPRINT nerrors=$nerrors - if test $nerrors -ne 0 ; then - echo "VFD SWMR tests failed with $nerrors errors." - echo "(Writer and reader output preserved)" - exit 1 - fi - # Clean up output files rm -f vfd_swmr_writer.{out,rc} rm -f vfd_swmr_reader.*.{out,rc} @@ -431,14 +408,6 @@ do nerrors=$((nerrors + 1)) fi - # Check for error and exit if one occured - $DPRINT nerrors=$nerrors - if test $nerrors -ne 0 ; then - echo "VFD SWMR tests failed with $nerrors errors." - echo "(Writer and reader output preserved)" - exit 1 - fi - # Clean up output files rm -f vfd_swmr_writer.{out,rc} rm -f vfd_swmr_reader.*.{out,rc} @@ -514,14 +483,6 @@ do nerrors=$((nerrors + 1)) fi - # Check for error and exit if one occured - $DPRINT nerrors=$nerrors - if test $nerrors -ne 0 ; then - echo "VFD SWMR tests failed with $nerrors errors." - echo "(Writer and reader output preserved)" - exit 1 - fi - # Clean up output files rm -f vfd_swmr_writer.{out,rc} rm -f vfd_swmr_reader.*.{out,rc} @@ -575,13 +536,6 @@ for ty in null oob; do nerrors=$((nerrors + 1)) fi - # Check for error and exit if one occured - if test $nerrors -ne 0 ; then - echo "VFD SWMR tests failed with $nerrors errors." - echo "(Writer and reader output preserved)" - exit 1 - fi - # Clean up output files rm -f vfd_swmr_vlstr_writer.{out,rc} rm -f vfd_swmr_vlstr_reader.*.{out,rc} |