diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2007-12-20 21:31:34 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2007-12-20 21:31:34 (GMT) |
commit | 491971980d68bb763899d42946a63fc127f9c4cb (patch) | |
tree | c913ed03fe3587acd1f647574d9387d3d9147a7d /tools/h5repack/h5repacktst.c | |
parent | 837780443693fc562725f57e874312120cde32d8 (diff) | |
download | hdf5-491971980d68bb763899d42946a63fc127f9c4cb.zip hdf5-491971980d68bb763899d42946a63fc127f9c4cb.tar.gz hdf5-491971980d68bb763899d42946a63fc127f9c4cb.tar.bz2 |
[svn-r14355] uncomment previously commented code regarding nbit and scale-offset filter adding
changed the logic of the filter compare function to first compare filter type, then filter client data values (separate here in each individual case, since some filters return private filter values. Todo: handle the nbit and scale-offest cases)
tested: windows, linux
Diffstat (limited to 'tools/h5repack/h5repacktst.c')
-rw-r--r-- | tools/h5repack/h5repacktst.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tools/h5repack/h5repacktst.c b/tools/h5repack/h5repacktst.c index 67f00d4..99448c4 100644 --- a/tools/h5repack/h5repacktst.c +++ b/tools/h5repack/h5repacktst.c @@ -896,6 +896,8 @@ if (szip_can_encode) { GOERROR; if (h5repack_verify(FNAME7OUT,&pack_options)<=0) GOERROR; + if (h5repack_cmpdcpl(FNAME7,FNAME7OUT)<=0) + GOERROR; if (h5repack_end (&pack_options) < 0) GOERROR; @@ -1097,8 +1099,6 @@ if (szip_can_encode) { SKIPPED(); #endif -#if 0 - /* solve bug in Nbit filter return value of cd_nelmts */ TESTING(" adding nbit filter"); @@ -1121,7 +1121,6 @@ if (szip_can_encode) { SKIPPED(); #endif -#endif TESTING(" copy of scaleoffset filter"); @@ -1163,8 +1162,6 @@ if (szip_can_encode) { SKIPPED(); #endif -#if 0 - /* solve bug in scaleoffset filter return value of cd_nelmts */ TESTING(" adding scaleoffset filter"); @@ -1188,7 +1185,6 @@ if (szip_can_encode) { #endif -#endif /*------------------------------------------------------------------------- * file with all filters |