[svn-r19407] Purpose:

Add --exclude-path option

Description:
 Merged from hdf5 trunk (r19406).
 Specified path to an object will be excluded from comparing the two files or two groups. If group is specified all the member objects will be excluded.
Related to "1890:  h5diff excluding object for file comparison via command line"

Tested:
 jam, amani
This commit is contained in:
Jonathan Kim
2010-09-16 16:57:27 -05:00
parent 6cb4260eff
commit 6d97ffcc6c
17 changed files with 659 additions and 18 deletions

View File

@@ -0,0 +1,30 @@
file1 file2
---------------------------------------
x x /
x x /dset1
x x /group1
x x /group1/dset2
x x /group1/dset3
group : </> and </>
0 differences found
dataset: </dset1> and </dset1>
0 differences found
group : </group1> and </group1>
0 differences found
dataset: </group1/dset2> and </group1/dset2>
0 differences found
dataset: </group1/dset3> and </group1/dset3>
size: [2x4] [2x4]
position dset3 dset3 difference
------------------------------------------------------------
[ 0 1 ] 0 1 1
[ 0 2 ] 0 2 2
[ 0 3 ] 0 3 3
[ 1 0 ] 0 1 1
[ 1 1 ] 0 2 2
[ 1 2 ] 0 3 3
[ 1 3 ] 0 4 4
7 differences found
EXIT CODE: 1