[svn-r22701] Purpose:
Address HDFFV-7942 - h5diff: incorrect result for comparing attribute data with different type size in same class Description: When comparing attribute data values with same type class but different size, the result was incorrect. It was due to the size difference and got truncated. Fixed to match up the smaller type size to big type size like what dataset does. Merged from HDF5 trunk r22684 and r22691. Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), Windows (32-LE cmake), cmake (jam)
This commit is contained in:
11
tools/h5diff/testfiles/h5diff_59.txt
Normal file
11
tools/h5diff/testfiles/h5diff_59.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
dataset: </dset11a> and </dset11b>
|
||||
Warning: different storage datatype
|
||||
</dset11a> has file datatype H5T_STD_U16LE
|
||||
</dset11b> has file datatype H5T_STD_U32LE
|
||||
Warning: different storage datatype
|
||||
<attr> has file datatype H5T_STD_U16LE
|
||||
<attr> has file datatype H5T_STD_U32LE
|
||||
attribute: <attr of </dset11a>> and <attr of </dset11b>>
|
||||
0 differences found
|
||||
0 differences found
|
||||
EXIT CODE: 0
|
||||
Reference in New Issue
Block a user