mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[svn-r8295] Purpose:
Bug fix. Description: nerror was not updated when errors were detected. Added the nerror update and print a message at the end if all is well. Platforms tested: Tested in copper, both parallel and serial.
This commit is contained in:
parent
3756af13c7
commit
5d91eb8a80
@ -66,9 +66,10 @@ TOOLTEST()
|
||||
)
|
||||
RET=$?
|
||||
if [ $RET != 0 ] ; then
|
||||
echo "*FAILED*"
|
||||
echo "*FAILED*"
|
||||
nerrors="`expr $nerrors + 1`"
|
||||
else
|
||||
echo " PASSED"
|
||||
echo " PASSED"
|
||||
fi
|
||||
|
||||
}
|
||||
@ -87,11 +88,11 @@ DIFFTEST()
|
||||
fi
|
||||
)
|
||||
RET=$?
|
||||
# echo $RET
|
||||
if [ $RET != 0 ] ; then
|
||||
echo "*FAILED*"
|
||||
echo "*FAILED*"
|
||||
nerrors="`expr $nerrors + 1`"
|
||||
else
|
||||
echo " PASSED"
|
||||
echo " PASSED"
|
||||
fi
|
||||
|
||||
}
|
||||
@ -130,5 +131,8 @@ DIFFTEST test4.h5 test4.out.h5
|
||||
TOOLTEST -i test4.h5 -o test4.out.h5 -e "h5repack_info.txt"
|
||||
DIFFTEST test4.h5 test4.out.h5
|
||||
|
||||
if test $nerrors -eq 0 ; then
|
||||
echo "All $H5REPACK tests passed."
|
||||
fi
|
||||
|
||||
exit $nerrors
|
||||
|
Loading…
Reference in New Issue
Block a user