mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-23 16:20:57 +08:00
HDFFV-5919 - GMQS: h5diff - The number of object difference is not consistent between dataset and group/type when attribute(s) have differences Description: Object differences are not consistent between dataset and group/datatype when their attribute(s) have differences. This is because attribute(s) differences is not accumulated to group or datatype object’s difference, but accumulated to dataset difference. To fix, do not accumulate attribute difference to dataset difference. This is referred to h5diff’s default behavior and also past report from users that users were confused by the accumulated behavior. (also can’t figure out only for dataset difference , also hard to spot dataset difference when it has lots of attributes or differences) This also lead to fix inconsistent format indicating difference between dataset and group/datatype object. Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE cmake), cmake (jam)
12 lines
381 B
Plaintext
12 lines
381 B
Plaintext
dataset: </dset11a> and </dset11b>
|
|
Warning: different storage datatype
|
|
</dset11a> has file datatype H5T_STD_U16LE
|
|
</dset11b> has file datatype H5T_STD_U32LE
|
|
0 differences found
|
|
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
|
|
EXIT CODE: 0
|