Summary: when using h5diff to compare the results of h5repack (or other tools that copy one HDF5 file to another), a new option is needed to allow h5diff to make an "absolute" comparison of the 2 files. This is the "contents" mode explained in the usage below.

If this mode is present, objects in both files must match (must be exactly the same). If this does not happen, the tool returns an error code of 1 (instead of the success code of 0)

Changes to the h5repack test script: the call to h5diff was changed to include -c (maintaining the previous -q). 

tested: windows, linux, solaris
This commit is contained in:
Pedro Vicente Nunes
2008-08-04 16:13:16 -05:00
parent 2fa8102745
commit 6787ef71a2
21 changed files with 361 additions and 116 deletions

View File

@@ -0,0 +1,24 @@
file1 file2
---------------------------------------
x x /
x /g1
x /g1/d1
x /g1/d2
x /g1/dset1
x /g1/dset10
x /g1/dset3
x /g1/dset5
x /g1/dset6
x /g1/dset7
x /g1/dset8
x /g1/dset9
x /g1/fp1
x /g1/fp15
x /g1/fp16
x /g1/fp17
x /g1/fp18
x /g1/fp2
group : </> and </>
0 differences found