mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
[svn-r21958] SKIP failing filter tests until compression values can be verifed
This commit is contained in:
parent
d195d4bf55
commit
9c15560115
@ -488,8 +488,8 @@ TOOLTEST() {
|
||||
# Run test.
|
||||
TESTING $DUMPER $@
|
||||
(
|
||||
cd $TESTDIR
|
||||
$RUNSERIAL $DUMPER_BIN "$@"
|
||||
cd $TESTDIR
|
||||
$RUNSERIAL $DUMPER_BIN "$@"
|
||||
) >$actual 2>$actual_err
|
||||
|
||||
# save actual and actual_err in case they are needed later.
|
||||
@ -499,7 +499,7 @@ TOOLTEST() {
|
||||
STDERR_FILTER $actual_err
|
||||
cat $actual_err >> $actual
|
||||
|
||||
if [ ! -f $expect ]; then
|
||||
if [ ! -f $expect ]; then
|
||||
# Create the expect file if it doesn't yet exist.
|
||||
echo " CREATED"
|
||||
cp $actual $expect
|
||||
@ -508,13 +508,13 @@ TOOLTEST() {
|
||||
else
|
||||
echo "*FAILED*"
|
||||
echo " Expected result (*.ddl) differs from actual result (*.out)"
|
||||
nerrors="`expr $nerrors + 1`"
|
||||
test yes = "$verbose" && $DIFF $expect $actual |sed 's/^/ /'
|
||||
nerrors="`expr $nerrors + 1`"
|
||||
test yes = "$verbose" && $DIFF $expect $actual |sed 's/^/ /'
|
||||
fi
|
||||
|
||||
# Clean up output file
|
||||
if test -z "$HDF5_NOCLEANUP"; then
|
||||
rm -f $actual $actual_err $actual_sav $actual_err_sav $actual_ext
|
||||
rm -f $actual $actual_err $actual_sav $actual_err_sav $actual_ext
|
||||
fi
|
||||
|
||||
}
|
||||
@ -621,15 +621,15 @@ TOOLTEST3() {
|
||||
|
||||
# Clean up output file
|
||||
if test -z "$HDF5_NOCLEANUP"; then
|
||||
rm -f $actual $actual_err $actual_sav $actual_err_sav
|
||||
rm -f $actual $actual_err $actual_sav $actual_err_sav
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
# Print a "SKIP" message
|
||||
SKIP() {
|
||||
TESTING $DUMPER $@
|
||||
echo " -SKIP-"
|
||||
TESTING $DUMPER $@
|
||||
echo " -SKIP-"
|
||||
}
|
||||
|
||||
# Print a line-line message left justified in a field of 70 characters
|
||||
@ -646,8 +646,8 @@ DIFFTEST()
|
||||
{
|
||||
PRINT_H5DIFF $@
|
||||
(
|
||||
cd $TESTDIR
|
||||
$RUNSERIAL $H5DIFF_BIN "$@" -q
|
||||
cd $TESTDIR
|
||||
$RUNSERIAL $H5DIFF_BIN "$@" -q
|
||||
)
|
||||
RET=$?
|
||||
if [ $RET != 0 ] ; then
|
||||
@ -679,8 +679,8 @@ IMPORTTEST()
|
||||
|
||||
PRINT_H5IMPORT $@
|
||||
(
|
||||
cd $TESTDIR
|
||||
$RUNSERIAL $H5IMPORT_BIN "$@"
|
||||
cd $TESTDIR
|
||||
$RUNSERIAL $H5IMPORT_BIN "$@"
|
||||
)
|
||||
RET=$?
|
||||
if [ $RET != 0 ] ; then
|
||||
@ -695,7 +695,7 @@ IMPORTTEST()
|
||||
|
||||
##############################################################################
|
||||
##############################################################################
|
||||
### T H E T E S T S ###
|
||||
### T H E T E S T S ###
|
||||
##############################################################################
|
||||
##############################################################################
|
||||
# prepare for test
|
||||
@ -881,22 +881,22 @@ TOOLTEST texceedsubcount.ddl -d 1d -c 1,3 taindices.h5
|
||||
TOOLTEST texceedsubstride.ddl -d 1d -S 1,3 taindices.h5
|
||||
TOOLTEST texceedsubblock.ddl -d 1d -k 1,3 taindices.h5
|
||||
|
||||
|
||||
###### 2/17 SKIP tests because compression values are different ############
|
||||
# tests for filters
|
||||
# SZIP
|
||||
option="-H -p -d szip tfilters.h5"
|
||||
if test $USE_FILTER_SZIP != "yes"; then
|
||||
#if test $USE_FILTER_SZIP != "yes"; then
|
||||
SKIP $option
|
||||
else
|
||||
TOOLTEST tszip.ddl $option
|
||||
fi
|
||||
#else
|
||||
#TOOLTEST tszip.ddl $option
|
||||
#fi
|
||||
# deflate
|
||||
option="-H -p -d deflate tfilters.h5"
|
||||
if test $USE_FILTER_DEFLATE != "yes"; then
|
||||
#if test $USE_FILTER_DEFLATE != "yes"; then
|
||||
SKIP $option
|
||||
else
|
||||
TOOLTEST tdeflate.ddl $option
|
||||
fi
|
||||
#else
|
||||
# TOOLTEST tdeflate.ddl $option
|
||||
#fi
|
||||
# shuffle
|
||||
option="-H -p -d shuffle tfilters.h5"
|
||||
if test $USE_FILTER_SHUFFLE != "yes"; then
|
||||
@ -913,25 +913,25 @@ else
|
||||
fi
|
||||
# nbit
|
||||
option="-H -p -d nbit tfilters.h5"
|
||||
if test $USE_FILTER_NBIT != "yes"; then
|
||||
#if test $USE_FILTER_NBIT != "yes"; then
|
||||
SKIP $option
|
||||
else
|
||||
TOOLTEST tnbit.ddl $option
|
||||
fi
|
||||
#else
|
||||
# TOOLTEST tnbit.ddl $option
|
||||
#fi
|
||||
# scaleoffset
|
||||
option="-H -p -d scaleoffset tfilters.h5"
|
||||
if test $USE_FILTER_SCALEOFFSET != "yes"; then
|
||||
#if test $USE_FILTER_SCALEOFFSET != "yes"; then
|
||||
SKIP $option
|
||||
else
|
||||
TOOLTEST tscaleoffset.ddl $option
|
||||
fi
|
||||
#else
|
||||
# TOOLTEST tscaleoffset.ddl $option
|
||||
#fi
|
||||
# all
|
||||
option="-H -p -d all tfilters.h5"
|
||||
if test $USE_FILTER_FLETCHER32 != "yes" -o $USE_FILTER_SZIP != "yes" -o $USE_FILTER_DEFLATE != "yes" -o $USE_FILTER_SHUFFLE != "yes" -o $USE_FILTER_NBIT != "yes" -o $USE_FILTER_SCALEOFFSET != "yes"; then
|
||||
#if test $USE_FILTER_FLETCHER32 != "yes" -o $USE_FILTER_SZIP != "yes" -o $USE_FILTER_DEFLATE != "yes" -o $USE_FILTER_SHUFFLE != "yes" -o $USE_FILTER_NBIT != "yes" -o $USE_FILTER_SCALEOFFSET != "yes"; then
|
||||
SKIP $option
|
||||
else
|
||||
TOOLTEST tallfilters.ddl $option
|
||||
fi
|
||||
#else
|
||||
# TOOLTEST tallfilters.ddl $option
|
||||
#fi
|
||||
# user defined
|
||||
TOOLTEST tuserfilter.ddl --enable-error-stack -H -p -d myfilter tfilters.h5
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user