mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-13 16:47:58 +08:00
[svn-r1283] Changed the shell to exit with number of errors encountered during
test. This would signal to make something is incorrect.
This commit is contained in:
parent
b583a01f5b
commit
009a989c32
@ -123,7 +123,8 @@ DUMP tloop-1.ddl tloop.h5
|
||||
# test for string
|
||||
DUMP tstr-1.ddl tstr.h5
|
||||
|
||||
if test "0" = "$nerrors"; then
|
||||
if test $nerrors -eq 0 ; then
|
||||
echo "All h5dump tests passed."
|
||||
fi
|
||||
|
||||
exit $nerrors
|
||||
|
@ -340,7 +340,8 @@ CONVERT -m tcompound.h5 tall.h5 tloop.h5
|
||||
CONVERT -m tdset2.h5 tcompound2.h5 tmany.h5
|
||||
CONVERT -m tstr.h5 tstr2.h5
|
||||
|
||||
if test "0" = "$nerrors"; then
|
||||
if test $nerrors -eq 0 ; then
|
||||
echo "All h5toh4 tests passed."
|
||||
fi
|
||||
|
||||
exit $nerrors
|
||||
|
Loading…
x
Reference in New Issue
Block a user