diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2014-04-22 22:30:38 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2014-04-22 22:30:38 (GMT) |
commit | 7031b03ac83d4f4003ed0c214ea477fdd4b9d5a7 (patch) | |
tree | 5a77b108576caee81f942e3e0df07a58fb9d7168 /tools/h5diff/testh5diff.sh.in | |
parent | 2fc0c50a9dee7aaf810c210068e702d54ec7a3b2 (diff) | |
download | hdf5-7031b03ac83d4f4003ed0c214ea477fdd4b9d5a7.zip hdf5-7031b03ac83d4f4003ed0c214ea477fdd4b9d5a7.tar.gz hdf5-7031b03ac83d4f4003ed0c214ea477fdd4b9d5a7.tar.bz2 |
[svn-r25082] Bug HDFFV-8625, HDFFV-8639, HDFFV-8745:
h5diff issues "unable to read attribute" error message when comparing
two files
Description:
h5diff did not handle attributes of variable length strings
correctly. It created the wrong memory type if one but not both
compared attributes are of the variable strings type. It ended in
H5Aread() failure.
Solution:
We decided to treat the case when one type is variable length string
and the other is not as incomparable. That bypassed the above error.
We still need to figure out the proper way, if possible, to compare
variable string with non-variable string types.
Tested: h5committested plus tested in Swallow (OS X 10.8).
Diffstat (limited to 'tools/h5diff/testh5diff.sh.in')
-rwxr-xr-x | tools/h5diff/testh5diff.sh.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/h5diff/testh5diff.sh.in b/tools/h5diff/testh5diff.sh.in index 549da49..ee8a09b 100755 --- a/tools/h5diff/testh5diff.sh.in +++ b/tools/h5diff/testh5diff.sh.in @@ -302,6 +302,12 @@ $SRC_H5DIFF_TESTFILES/h5diff_709.txt $SRC_H5DIFF_TESTFILES/h5diff_710.txt $SRC_H5DIFF_TESTFILES/h5diff_80.txt $SRC_H5DIFF_TESTFILES/h5diff_90.txt +$SRC_H5DIFF_TESTFILES/h5diff_tmp1.txt +$SRC_H5DIFF_TESTFILES/h5diff_tmp2.txt +$SRC_H5DIFF_TESTFILES/tmptest.he5 +$SRC_H5DIFF_TESTFILES/tmptest2.he5 +$SRC_H5DIFF_TESTFILES/tmpSingleSiteBethe.reference.h5 +$SRC_H5DIFF_TESTFILES/tmpSingleSiteBethe.output.h5 " # @@ -757,6 +763,10 @@ TOOLTEST h5diff_631.txt -v --use-system-epsilon h5diff_basic1.h5 h5diff_basic1.h # 7. attributes # ############################################################################## TOOLTEST h5diff_70.txt -v h5diff_attr1.h5 h5diff_attr2.h5 +# temporary test to verify HDF5-8625 +TOOLTEST h5diff_tmp1.txt tmptest2.he5 tmptest.he5 +# temporary test to verify HDF5-8639 +TOOLTEST h5diff_tmp2.txt tmpSingleSiteBethe.output.h5 tmpSingleSiteBethe.reference.h5 # ################################################## # attrs with verbose option level |