diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2011-10-26 14:55:23 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2011-10-26 14:55:23 (GMT) |
commit | 0381963da6c151fce90299d6f17e4d2dd80b3b46 (patch) | |
tree | 2471a4675f1c6c670256fbbb343502f652162f83 /test | |
parent | c61a0a3d6200c6513cc49c4fe5cb05e0313e571a (diff) | |
download | hdf5-0381963da6c151fce90299d6f17e4d2dd80b3b46.zip hdf5-0381963da6c151fce90299d6f17e4d2dd80b3b46.tar.gz hdf5-0381963da6c151fce90299d6f17e4d2dd80b3b46.tar.bz2 |
[svn-r21675] Description:
Don't check dataset storage size for compressed datasets with region
reference datatypes. (The address of the region reference type in the file
varies and affects the compressed size)
Tested on:
Mac OS X/32 10.7.2 (amazon) w/debug & production + check-vfd
Diffstat (limited to 'test')
-rwxr-xr-x | test/objcopy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/objcopy.c b/test/objcopy.c index 4b768fb..5c20ee8 100755 --- a/test/objcopy.c +++ b/test/objcopy.c @@ -1236,7 +1236,8 @@ compare_datasets(hid_t did, hid_t did2, hid_t pid, const void *wbuf) * data in each dataset will (probably) be different and the storage * size will thus vary) */ - if(!(nfilters > 0 && H5Tdetect_class(tid, H5T_VLEN))) { + if(!(nfilters > 0 && (H5Tdetect_class(tid, H5T_VLEN) || + (H5Tdetect_class(tid, H5T_REFERENCE) && H5Tequal(tid, H5T_STD_REF_DSETREG))))) { hsize_t storage_size = H5Dget_storage_size(did); /* Dataset's raw data storage size */ hsize_t storage_size2 = H5Dget_storage_size(did2); /* 2nd Dataset's raw data storage size */ |