summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2009-05-20 14:40:57 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2009-05-20 14:40:57 (GMT)
commit27c10b911eae4fa1e8e7830bde45c9c2516326e4 (patch)
tree353890d107db3a84669b3df7bd7209df5accf4e5
parent143cc61754268768984512e767c7c725d7bbf7e2 (diff)
downloadhdf5-27c10b911eae4fa1e8e7830bde45c9c2516326e4.zip
hdf5-27c10b911eae4fa1e8e7830bde45c9c2516326e4.tar.gz
hdf5-27c10b911eae4fa1e8e7830bde45c9c2516326e4.tar.bz2
[svn-r16966] add the sentence "Not comparable" for the not compatable messages
tested: windows, linux
-rw-r--r--tools/h5diff/testfiles/h5diff_201.txt2
-rw-r--r--tools/h5diff/testfiles/h5diff_202.txt4
-rw-r--r--tools/h5diff/testfiles/h5diff_203.txt2
-rw-r--r--tools/h5diff/testfiles/h5diff_204.txt2
-rw-r--r--tools/h5diff/testfiles/h5diff_205.txt4
-rw-r--r--tools/h5diff/testfiles/h5diff_206.txt2
-rw-r--r--tools/h5diff/testfiles/h5diff_207.txt4
-rw-r--r--tools/h5diff/testfiles/h5diff_57.txt2
-rw-r--r--tools/h5diff/testfiles/h5diff_70.txt2
-rw-r--r--tools/h5diff/testfiles/h5diff_80.txt6
-rw-r--r--tools/h5diff/testfiles/h5diff_90.txt4
-rw-r--r--tools/lib/h5diff_dset.c16
12 files changed, 25 insertions, 25 deletions
diff --git a/tools/h5diff/testfiles/h5diff_201.txt b/tools/h5diff/testfiles/h5diff_201.txt
index 599cc2b..a212444 100644
--- a/tools/h5diff/testfiles/h5diff_201.txt
+++ b/tools/h5diff/testfiles/h5diff_201.txt
@@ -1 +1 @@
-</g2/dset1> or </g2/dset2> are empty datasets
+Not comparable: </g2/dset1> or </g2/dset2> are empty datasets
diff --git a/tools/h5diff/testfiles/h5diff_202.txt b/tools/h5diff/testfiles/h5diff_202.txt
index a881cf5..fd4a191 100644
--- a/tools/h5diff/testfiles/h5diff_202.txt
+++ b/tools/h5diff/testfiles/h5diff_202.txt
@@ -1,2 +1,2 @@
-</g2/dset2> is of class H5T_FLOAT and </g2/dset3> is of class H5T_INTEGER
-</g2/dset2> has sign H5T_SGN_ERROR and </g2/dset3> has sign H5T_SGN_2
+Not comparable: </g2/dset2> is of class H5T_FLOAT and </g2/dset3> is of class H5T_INTEGER
+Not comparable: </g2/dset2> has sign H5T_SGN_ERROR and </g2/dset3> has sign H5T_SGN_2
diff --git a/tools/h5diff/testfiles/h5diff_203.txt b/tools/h5diff/testfiles/h5diff_203.txt
index aea1891..49ee21c 100644
--- a/tools/h5diff/testfiles/h5diff_203.txt
+++ b/tools/h5diff/testfiles/h5diff_203.txt
@@ -1,2 +1,2 @@
-</g2/dset3> has rank 1, dimensions [6], max dimensions [6]
+Not comparable: </g2/dset3> has rank 1, dimensions [6], max dimensions [6]
</g2/dset4> has rank 2, dimensions [3x2], max dimensions [3x2]
diff --git a/tools/h5diff/testfiles/h5diff_204.txt b/tools/h5diff/testfiles/h5diff_204.txt
index 66b9e63..5a3d87f 100644
--- a/tools/h5diff/testfiles/h5diff_204.txt
+++ b/tools/h5diff/testfiles/h5diff_204.txt
@@ -1,2 +1,2 @@
-</g2/dset4> has rank 2, dimensions [3x2], max dimensions [3x2]
+Not comparable: </g2/dset4> has rank 2, dimensions [3x2], max dimensions [3x2]
</g2/dset5> has rank 2, dimensions [2x2], max dimensions [2x2]
diff --git a/tools/h5diff/testfiles/h5diff_205.txt b/tools/h5diff/testfiles/h5diff_205.txt
index f7360ab..81298af 100644
--- a/tools/h5diff/testfiles/h5diff_205.txt
+++ b/tools/h5diff/testfiles/h5diff_205.txt
@@ -1,3 +1,3 @@
-</g2/dset5> has rank 2, dimensions [2x2], max dimensions [2x2]
+Not comparable: </g2/dset5> has rank 2, dimensions [2x2], max dimensions [2x2]
</g2/dset6> has rank 2, dimensions [3x2], max dimensions [3x2]
-</g2/dset5> has sign H5T_SGN_2 and </g2/dset6> has sign H5T_SGN_NONE
+Not comparable: </g2/dset5> has sign H5T_SGN_2 and </g2/dset6> has sign H5T_SGN_NONE
diff --git a/tools/h5diff/testfiles/h5diff_206.txt b/tools/h5diff/testfiles/h5diff_206.txt
index 8bbbb9a..164aed9 100644
--- a/tools/h5diff/testfiles/h5diff_206.txt
+++ b/tools/h5diff/testfiles/h5diff_206.txt
@@ -1 +1 @@
-</g2/dset7> has a class H5T_FLOAT and </g2/dset8> has a class H5T_INTEGER
+Not comparable: </g2/dset7> has a class H5T_FLOAT and </g2/dset8> has a class H5T_INTEGER
diff --git a/tools/h5diff/testfiles/h5diff_207.txt b/tools/h5diff/testfiles/h5diff_207.txt
index 833afe8..f8152f8 100644
--- a/tools/h5diff/testfiles/h5diff_207.txt
+++ b/tools/h5diff/testfiles/h5diff_207.txt
@@ -1,2 +1,2 @@
-</g2/dset8> or </g2/dset9> are empty datasets
-</g2/dset8> has 2 members </g2/dset9> has 1 members
+Not comparable: </g2/dset8> or </g2/dset9> are empty datasets
+Not comparable: </g2/dset8> has 2 members </g2/dset9> has 1 members
diff --git a/tools/h5diff/testfiles/h5diff_57.txt b/tools/h5diff/testfiles/h5diff_57.txt
index c1a0d64..a026077 100644
--- a/tools/h5diff/testfiles/h5diff_57.txt
+++ b/tools/h5diff/testfiles/h5diff_57.txt
@@ -2,7 +2,7 @@ dataset: </dset7a> and </dset7b>
Warning: different storage datatype
</dset7a> has file datatype H5T_STD_I8LE
</dset7b> has file datatype H5T_STD_U8LE
-</dset7a> has sign H5T_SGN_2 and </dset7b> has sign H5T_SGN_NONE
+Not comparable: </dset7a> has sign H5T_SGN_2 and </dset7b> has sign H5T_SGN_NONE
0 differences found
--------------------------------
Some objects are not comparable
diff --git a/tools/h5diff/testfiles/h5diff_70.txt b/tools/h5diff/testfiles/h5diff_70.txt
index 84df239..3c48c5f 100644
--- a/tools/h5diff/testfiles/h5diff_70.txt
+++ b/tools/h5diff/testfiles/h5diff_70.txt
@@ -5,7 +5,7 @@ file1 file2
x x /g1
dataset: </dset> and </dset>
-</dset> or </dset> are empty datasets
+Not comparable: </dset> or </dset> are empty datasets
attribute: <string of </dset>> and <string of </dset>>
size: [2] [2]
position string of </dset> string of </dset> difference
diff --git a/tools/h5diff/testfiles/h5diff_80.txt b/tools/h5diff/testfiles/h5diff_80.txt
index c6ea8f1..51a1fec 100644
--- a/tools/h5diff/testfiles/h5diff_80.txt
+++ b/tools/h5diff/testfiles/h5diff_80.txt
@@ -242,7 +242,7 @@ position array3D array3D difference
[ 3 2 1 ] 72 0 72
72 differences found
dataset: </g1/arrayd> and </g1/arrayd>
-</g1/arrayd> or </g1/arrayd> are empty datasets
+Not comparable: </g1/arrayd> or </g1/arrayd> are empty datasets
0 differences found
dataset: </g1/bitfield> and </g1/bitfield>
size: [2] [2]
@@ -377,10 +377,10 @@ position enum enum difference
[ 0 ] RED GREEN
1 differences found
dataset: </g1/enum2D> and </g1/enum2D>
-</g1/enum2D> or </g1/enum2D> are empty datasets
+Not comparable: </g1/enum2D> or </g1/enum2D> are empty datasets
0 differences found
dataset: </g1/enum3D> and </g1/enum3D>
-</g1/enum3D> or </g1/enum3D> are empty datasets
+Not comparable: </g1/enum3D> or </g1/enum3D> are empty datasets
0 differences found
dataset: </g1/float> and </g1/float>
size: [2] [2]
diff --git a/tools/h5diff/testfiles/h5diff_90.txt b/tools/h5diff/testfiles/h5diff_90.txt
index e787c21..c26ab55 100644
--- a/tools/h5diff/testfiles/h5diff_90.txt
+++ b/tools/h5diff/testfiles/h5diff_90.txt
@@ -27,7 +27,7 @@ dataset: </g1/dset4> and </g1/dset4>
group : </g2> and </g2>
0 differences found
dataset: </g2/dset1> and </g2/dset1>
-</g2/dset1> or </g2/dset1> are empty datasets
+Not comparable: </g2/dset1> or </g2/dset1> are empty datasets
0 differences found
dataset: </g2/dset2> and </g2/dset2>
0 differences found
@@ -44,7 +44,7 @@ dataset: </g2/dset7> and </g2/dset7>
dataset: </g2/dset8> and </g2/dset8>
0 differences found
dataset: </g2/dset9> and </g2/dset9>
-</g2/dset9> or </g2/dset9> are empty datasets
+Not comparable: </g2/dset9> or </g2/dset9> are empty datasets
0 differences found
group : </> and </>
0 differences found
diff --git a/tools/lib/h5diff_dset.c b/tools/lib/h5diff_dset.c
index 05dc96a..90efc77 100644
--- a/tools/lib/h5diff_dset.c
+++ b/tools/lib/h5diff_dset.c
@@ -260,7 +260,7 @@ hsize_t diff_datasetid( hid_t did1,
if (storage_size1==0 || storage_size2==0)
{
if ( (options->m_verbose||options->m_list_not_cmp) && obj1_name && obj2_name)
- printf("<%s> or <%s> are empty datasets\n", obj1_name, obj2_name);
+ printf("Not comparable: <%s> or <%s> are empty datasets\n", obj1_name, obj2_name);
can_compare=0;
options->not_cmp=1;
}
@@ -310,7 +310,7 @@ hsize_t diff_datasetid( hid_t did1,
{
if ((options->m_verbose||options->m_list_not_cmp) && obj1_name && obj2_name)
{
- printf("<%s> has sign %s ", obj1_name, get_sign(sign1));
+ printf("Not comparable: <%s> has sign %s ", obj1_name, get_sign(sign1));
printf("and <%s> has sign %s\n", obj2_name, get_sign(sign2));
}
@@ -691,7 +691,7 @@ int diff_can_type( hid_t f_tid1, /* file data type */
if ( is_compound )
{
- printf("<%s> has a class %s and <%s> has a class %s\n",
+ printf("Not comparable: <%s> has a class %s and <%s> has a class %s\n",
obj1_name, get_class(tclass1),
obj2_name, get_class(tclass2) );
@@ -701,7 +701,7 @@ int diff_can_type( hid_t f_tid1, /* file data type */
{
- printf("<%s> is of class %s and <%s> is of class %s\n",
+ printf("Not comparable: <%s> is of class %s and <%s> is of class %s\n",
obj1_name, get_class(tclass1),
obj2_name, get_class(tclass2) );
@@ -741,7 +741,7 @@ int diff_can_type( hid_t f_tid1, /* file data type */
if ( (options->m_verbose||options->m_list_not_cmp) && obj1_name && obj2_name)
{
- printf("<%s> and <%s> are of class %s\n",
+ printf("Not comparable: <%s> and <%s> are of class %s\n",
obj1_name,obj2_name,get_class(tclass2) );
}
can_compare = 0;
@@ -786,7 +786,7 @@ int diff_can_type( hid_t f_tid1, /* file data type */
if ( (options->m_verbose||options->m_list_not_cmp) && obj1_name && obj2_name)
{
- printf("<%s> has rank %d, dimensions ", obj1_name, rank1);
+ printf("Not comparable: <%s> has rank %d, dimensions ", obj1_name, rank1);
print_dimensions(rank1,dims1);
printf(", max dimensions ");
print_dimensions(rank1,maxdim1);
@@ -829,7 +829,7 @@ int diff_can_type( hid_t f_tid1, /* file data type */
{
if ( (options->m_verbose||options->m_list_not_cmp) && obj1_name && obj2_name)
{
- printf("<%s> has rank %d, dimensions ", obj1_name, rank1);
+ printf("Not comparable: <%s> has rank %d, dimensions ", obj1_name, rank1);
print_dimensions(rank1,dims1);
if (maxdim1 && maxdim2)
{
@@ -888,7 +888,7 @@ int diff_can_type( hid_t f_tid1, /* file data type */
if ( (options->m_verbose||options->m_list_not_cmp) && obj1_name && obj2_name)
{
- printf("<%s> has %d members ", obj1_name, nmembs1);
+ printf("Not comparable: <%s> has %d members ", obj1_name, nmembs1);
printf("<%s> has %d members ", obj2_name, nmembs2);
printf("\n");
}