hdf5/tools/h5diff/testfiles/h5diff_530.txt
Jonathan Kim 170e7e53a5 [svn-r20676] Purpose:
- HDFFV-5928 - GMQS: h5diff problem and improvement on comparsing the same objects

Description:
    Fixed:
    1) adding h5tools_is_obj_same() function to check if two given IDs or paths point to the same object. This function can be very useful for other tools and applications.
    2) using h5tools_is_obj_same() at h5diff() and diff() in h5diff.c. If two paths point to the same object, there is no need to check the details of the object since we know there is no difference. The fix will increase the performance by skipping the content comparison. It also fixed the problem of reporting difference for some cases of comparing the same file, e.g. empty files or files with incomparable objects the same file.

    Test update:
    Updat prvious test cases (171, 172, 530) affected by this fix, so they
    still perfrom originally intended testing without bypassing.

Tested:
 jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), cmake
2011-04-29 12:02:31 -05:00

36 lines
1.2 KiB
Plaintext

group1 group2
---------------------------------------
x x
x x /Compound_dset1
x x /Compound_dset2
x x /Compound_dset3
x x /Compound_dset4
x x /Compound_dset5
x x /Compound_dset6
x x /Compound_dset7
x x /Compound_dset8
x x /Compound_dset9
group : </group> and </group_copy>
0 differences found
dataset: </group/Compound_dset1> and </group_copy/Compound_dset1>
0 differences found
dataset: </group/Compound_dset2> and </group_copy/Compound_dset2>
0 differences found
dataset: </group/Compound_dset3> and </group_copy/Compound_dset3>
0 differences found
dataset: </group/Compound_dset4> and </group_copy/Compound_dset4>
0 differences found
dataset: </group/Compound_dset5> and </group_copy/Compound_dset5>
0 differences found
dataset: </group/Compound_dset6> and </group_copy/Compound_dset6>
0 differences found
dataset: </group/Compound_dset7> and </group_copy/Compound_dset7>
0 differences found
dataset: </group/Compound_dset8> and </group_copy/Compound_dset8>
0 differences found
dataset: </group/Compound_dset9> and </group_copy/Compound_dset9>
0 differences found
EXIT CODE: 0