diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2011-03-23 14:37:45 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2011-03-23 14:37:45 (GMT) |
commit | 2aabc3f41568a5daec0f1cae711c97a5bb82878d (patch) | |
tree | 1bcfe7eec0f9bf3910b495ec353d8fec036fd4dd /tools/lib/h5diff.h | |
parent | 58ca19929fd614eddee99f0cdc95551d451b4a6a (diff) | |
download | hdf5-2aabc3f41568a5daec0f1cae711c97a5bb82878d.zip hdf5-2aabc3f41568a5daec0f1cae711c97a5bb82878d.tar.gz hdf5-2aabc3f41568a5daec0f1cae711c97a5bb82878d.tar.bz2 |
[svn-r20299] Purpose:
Fixed CHICAGO: Bug 2121 - h5diff - incorrect and lack of output for the
different set of attributes (different number and names)
Description:
Merged from HDF5 trunk r20294
Previously h5diff compared attributes correctly only when two objects have
the same number of attributes and attribute names are identical.
Also didn't display useful information about attribute difference.
This fix covers all other cases.
This fixes both issues.
Tested:
jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE)
Diffstat (limited to 'tools/lib/h5diff.h')
-rw-r--r-- | tools/lib/h5diff.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/lib/h5diff.h b/tools/lib/h5diff.h index 7e4e016..19d5ed5 100644 --- a/tools/lib/h5diff.h +++ b/tools/lib/h5diff.h @@ -36,6 +36,7 @@ typedef struct { int m_quiet; /* quiet mide: no output at all */ int m_report; /* report mode: print the data */ int m_verbose; /* verbose mode: print the data, list of objcets, warnings */ + int m_verbose_level; /* control verbose details */ int d; /* delta, absolute value to compare */ double delta; /* delta value */ int p; /* relative error to compare*/ @@ -169,7 +170,8 @@ const char* get_class(H5T_class_t tclass); const char* get_sign(H5T_sign_t sign); void print_dimensions (int rank, hsize_t *dims); int print_objname(diff_opt_t *options, hsize_t nfound); -void do_print_objname (const char *OBJ, const char *path1, const char *path2); +void do_print_objname (const char *OBJ, const char *path1, const char *path2, diff_opt_t * opts); +void do_print_attrname (const char *attr, const char *path1, const char *path2); /*------------------------------------------------------------------------- |