diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2009-05-20 14:07:22 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2009-05-20 14:07:22 (GMT) |
commit | b75740341f787f9a4c3ddadeb0668066084b465f (patch) | |
tree | 8a8ea38cf3afe1d06f9d59a993da6997fd47000f | |
parent | 4a7834b7c7ed5ed9d9429a0798ed4240d97637cc (diff) | |
download | hdf5-b75740341f787f9a4c3ddadeb0668066084b465f.zip hdf5-b75740341f787f9a4c3ddadeb0668066084b465f.tar.gz hdf5-b75740341f787f9a4c3ddadeb0668066084b465f.tar.bz2 |
[svn-r16964] bug fix: the phrase "Not comparable" was not being printed for the case of different classes
tested: windows, linux
-rw-r--r-- | tools/h5diff/testfiles/h5diff_202.txt | 2 | ||||
-rw-r--r-- | tools/lib/h5diff_dset.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5diff/testfiles/h5diff_202.txt b/tools/h5diff/testfiles/h5diff_202.txt index ee240c2..fd4a191 100644 --- a/tools/h5diff/testfiles/h5diff_202.txt +++ b/tools/h5diff/testfiles/h5diff_202.txt @@ -1,2 +1,2 @@ -</g2/dset2> is of class H5T_FLOAT and </g2/dset3> is of class H5T_INTEGER +Not comparable: </g2/dset2> is of class H5T_FLOAT and </g2/dset3> is of class H5T_INTEGER Not comparable: </g2/dset2> has sign H5T_SGN_ERROR and </g2/dset3> has sign H5T_SGN_2 diff --git a/tools/lib/h5diff_dset.c b/tools/lib/h5diff_dset.c index 0f53192..bbfa351 100644 --- a/tools/lib/h5diff_dset.c +++ b/tools/lib/h5diff_dset.c @@ -708,7 +708,7 @@ int diff_can_type( hid_t f_tid1, /* file data type */ { - parallel_print("<%s> is of class %s and <%s> is of class %s\n", + parallel_print("Not comparable: <%s> is of class %s and <%s> is of class %s\n", obj1_name, get_class(tclass1), obj2_name, get_class(tclass2) ); |