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
This commit is contained in:
Pedro Vicente Nunes
2008-08-05 14:35:46 -05:00
parent d364dc74a4
commit e46107ca75
26 changed files with 570 additions and 294 deletions

View File

@@ -39,6 +39,7 @@ FILE7=h5diff_dset1.h5
FILE8=h5diff_dset2.h5
FILE9=h5diff_hyper1.h5
FILE10=h5diff_hyper2.h5
FILE11=h5diff_empty.h5
H5DIFF=h5diff # The tool name
@@ -301,6 +302,9 @@ TOOLTEST h5diff_17.txt -v $FILE1 $FILE2
# 1.8 quiet mode
TOOLTEST h5diff_18.txt -q $FILE1 $FILE2
# 1.9 contents mode
TOOLTEST h5diff_19.txt -v -c $FILE1 $FILE11
# ##############################################################################
# # not comparable types
# ##############################################################################