[svn-r16461] Bug fix: for compound types, the not comparable test for members was not done

Solution: for compound types, recursively apply that check
Two new cases are added
1) the compound type has a different number of members. Message printed is
<obj1> has X members <obj2> has Y members
Where X and Y are the number of members of each compound type being compared
2) the compound type has not comparable types (for example a double and an int at the same index)
In this case the message
Comparison not possible: object1 is of class1 and object2 is of class2
Is replaced with
Comparison not possible: object1 has a  class1 and object2 has a  class2
Modified the test generator program to have these 2  cases
Added a shell run for these 2  cases


Tested: windows, h5committest
This commit is contained in:
Pedro Vicente Nunes
2009-02-11 10:57:25 -05:00
parent d4ea5fbfb2
commit 96a0892ba8
11 changed files with 175 additions and 9 deletions

View File

@@ -0,0 +1 @@
</g2/dset7> has a class H5T_FLOAT and </g2/dset8> has a class H5T_INTEGER