diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2012-09-11 23:19:53 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2012-09-11 23:19:53 (GMT) |
commit | 0c21f00cf8a1a6260fedff98d4b27c3afd21de47 (patch) | |
tree | 744e56c7717292687c89016515519eb0e8a8f5c2 /tools/h5diff/testfiles/h5diff_222.txt | |
parent | 6810576bf21566b08956205bc957183b3a5c3d8d (diff) | |
download | hdf5-0c21f00cf8a1a6260fedff98d4b27c3afd21de47.zip hdf5-0c21f00cf8a1a6260fedff98d4b27c3afd21de47.tar.gz hdf5-0c21f00cf8a1a6260fedff98d4b27c3afd21de47.tar.bz2 |
[svn-r22753] Purpose:
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.
Merged from HDF5 trunk r22751.
Tested:
jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE cmake), cmake (jam)
Diffstat (limited to 'tools/h5diff/testfiles/h5diff_222.txt')
-rw-r--r-- | tools/h5diff/testfiles/h5diff_222.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/h5diff/testfiles/h5diff_222.txt b/tools/h5diff/testfiles/h5diff_222.txt index 53c9464..77447da 100644 --- a/tools/h5diff/testfiles/h5diff_222.txt +++ b/tools/h5diff/testfiles/h5diff_222.txt @@ -4,10 +4,10 @@ Not comparable: </diffobjtypes/obj3> is of type H5G_TYPE and </diffobjtypes/obj3 Not comparable: </g1/dset1> is of class H5T_INTEGER and </g1/dset1> is of class H5T_STRING attribute: <attr of </g1/dset1>> and <attr of </g1/dset1>> 3 differences found -dataset: </g1/dset1> and </g1/dset1> -3 differences found dataset: </g1/dset2> and </g1/dset2> 3 differences found +dataset: </g2/dset1> and </g2/dset1> +3 differences found Not comparable: <attr1> is of class H5T_INTEGER and <attr1> is of class H5T_STRING Not comparable: <attr2> has rank 1, dimensions [3], max dimensions [3] and <attr2> has rank 1, dimensions [4], max dimensions [4] @@ -15,8 +15,6 @@ Not comparable: <attr3> has rank 1, dimensions [3], max dimensions [3] and <attr3> has rank 2, dimensions [3x1], max dimensions [3x1] attribute: <attr4 of </g2/dset1>> and <attr4 of </g2/dset1>> 3 differences found -dataset: </g2/dset1> and </g2/dset1> -6 differences found dataset: </g2/dset2> and </g2/dset2> 3 differences found EXIT CODE: 1 |