[svn-r22124] Purpose:
Fix for HDFFV-7837 - h5diff: incorrect behavior with exclude-path option when unique object exist only in one file Description: If unique objects exists only in one file and try to exclude the unique objects with --exclude-path option, h5diff missed excluding some objects. Fixed to exclude objects correctly in such case. Test cases were added and tagged with jira#. Merged from HDF5 trunk r22114. Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE cmake), Cmake (jam)
This commit is contained in:
@@ -111,6 +111,8 @@ $SRC_H5DIFF_TESTFILES/h5diff_exclude1-1.h5
|
||||
$SRC_H5DIFF_TESTFILES/h5diff_exclude1-2.h5
|
||||
$SRC_H5DIFF_TESTFILES/h5diff_exclude2-1.h5
|
||||
$SRC_H5DIFF_TESTFILES/h5diff_exclude2-2.h5
|
||||
$SRC_H5DIFF_TESTFILES/h5diff_exclude3-1.h5
|
||||
$SRC_H5DIFF_TESTFILES/h5diff_exclude3-2.h5
|
||||
$SRC_H5DIFF_TESTFILES/h5diff_comp_vl_strs.h5
|
||||
$SRC_H5DIFF_TESTFILES/compounds_array_vlen1.h5
|
||||
$SRC_H5DIFF_TESTFILES/compounds_array_vlen2.h5
|
||||
@@ -1027,6 +1029,15 @@ TOOLTEST h5diff_483.txt -v --exclude-path "/group1" h5diff_exclude2-1.h5 h5diff_
|
||||
# Exclude from group compare
|
||||
TOOLTEST h5diff_484.txt -v --exclude-path "/dset3" h5diff_exclude1-1.h5 h5diff_exclude1-2.h5 /group1
|
||||
|
||||
#
|
||||
# Only one file contains unique objs. Common objs are same.
|
||||
# (HDFFV-7837)
|
||||
#
|
||||
TOOLTEST h5diff_485.txt -v --exclude-path "/group1" h5diff_exclude3-1.h5 h5diff_exclude3-2.h5
|
||||
TOOLTEST h5diff_486.txt -v --exclude-path "/group1" h5diff_exclude3-2.h5 h5diff_exclude3-1.h5
|
||||
TOOLTEST h5diff_487.txt -v --exclude-path "/group1/dset" h5diff_exclude3-1.h5 h5diff_exclude3-2.h5
|
||||
|
||||
|
||||
# ##############################################################################
|
||||
# # diff various multiple vlen and fixed strings in a compound type dataset
|
||||
# ##############################################################################
|
||||
|
||||
Reference in New Issue
Block a user