2014-05-31 12:12:05 +08:00
|
|
|
#!/bin/sh
|
2017-06-01 05:09:26 +08:00
|
|
|
# Run test_chunk_hdf4 passing ${srcdir}
|
2017-03-09 08:01:10 +08:00
|
|
|
|
2017-06-01 23:36:54 +08:00
|
|
|
|
|
|
|
|
2017-03-09 08:01:10 +08:00
|
|
|
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
|
|
|
|
. ../test_common.sh
|
|
|
|
|
2017-06-01 23:36:54 +08:00
|
|
|
set -e
|
|
|
|
|
2014-05-31 12:12:05 +08:00
|
|
|
echo ""
|
|
|
|
echo "*** Testing hdf4 chunking..."
|
2014-06-01 03:54:52 +08:00
|
|
|
|
2017-06-01 05:09:26 +08:00
|
|
|
if test "x${srcdir}" = "x" ; then
|
|
|
|
srcdir="."
|
2014-06-01 03:54:52 +08:00
|
|
|
fi
|
|
|
|
|
|
|
|
if ./tst_chunk_hdf4 ; then
|
2014-05-31 12:12:05 +08:00
|
|
|
echo "***SUCCESS!! tst_chunk_hdf4"
|
|
|
|
else
|
2017-06-01 23:36:54 +08:00
|
|
|
RES=$?
|
2014-05-31 12:12:05 +08:00
|
|
|
echo "***FAIL: tst_chunk_hdf4"
|
2017-06-01 23:36:54 +08:00
|
|
|
exit $RES
|
2014-05-31 12:12:05 +08:00
|
|
|
fi
|
|
|
|
|
|
|
|
exit 0
|