summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2005-09-20 18:56:59 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2005-09-20 18:56:59 (GMT)
commit8d7dbd9dc1d33990028bbf00a3424545d8e06033 (patch)
tree0ba22d8e83883d18c61adff8d0deb45dc4cd5a6b
parent52b811cc98d2dd726a90ce0875f4d971fff72e17 (diff)
downloadhdf5-8d7dbd9dc1d33990028bbf00a3424545d8e06033.zip
hdf5-8d7dbd9dc1d33990028bbf00a3424545d8e06033.tar.gz
hdf5-8d7dbd9dc1d33990028bbf00a3424545d8e06033.tar.bz2
[svn-r11445] Purpose:
h5diff new feature Description: a user asked for the message "Some objects are not comparable" to be more noticeable Solution: -------------------------------- Some objects are not comparable -------------------------------- Platforms tested: linux Misc. update:
-rw-r--r--tools/h5diff/h5diff_common.c2
-rw-r--r--tools/testfiles/h5diff_20.txt2
-rw-r--r--tools/testfiles/h5diff_21.txt2
-rw-r--r--tools/testfiles/h5diff_22.txt2
-rw-r--r--tools/testfiles/h5diff_57.txt2
-rw-r--r--tools/testfiles/h5diff_70.txt2
-rw-r--r--tools/testfiles/h5diff_80.txt2
7 files changed, 14 insertions, 0 deletions
diff --git a/tools/h5diff/h5diff_common.c b/tools/h5diff/h5diff_common.c
index 11fba7c..9210d40 100644
--- a/tools/h5diff/h5diff_common.c
+++ b/tools/h5diff/h5diff_common.c
@@ -194,7 +194,9 @@ void parse_input(int argc, const char* argv[], const char** fname1, const char**
if (options->not_cmp==1)
{
+ printf("--------------------------------\n");
printf("Some objects are not comparable\n");
+ printf("--------------------------------\n");
if (!options->m_verbose)
printf("Use -v for a list of objects.\n");
}
diff --git a/tools/testfiles/h5diff_20.txt b/tools/testfiles/h5diff_20.txt
index 280d689..ea38ec2 100644
--- a/tools/testfiles/h5diff_20.txt
+++ b/tools/testfiles/h5diff_20.txt
@@ -2,4 +2,6 @@
Expected output for 'h5diff file3.h5 file3.h5 -v dset group'
#############################
Comparison not possible: </dset> is of type H5G_DATASET and </group> is of type H5G_GROUP
+--------------------------------
Some objects are not comparable
+--------------------------------
diff --git a/tools/testfiles/h5diff_21.txt b/tools/testfiles/h5diff_21.txt
index ba80257..0d0c5c0 100644
--- a/tools/testfiles/h5diff_21.txt
+++ b/tools/testfiles/h5diff_21.txt
@@ -2,4 +2,6 @@
Expected output for 'h5diff file3.h5 file3.h5 -v dset link'
#############################
Comparison not possible: </dset> is of type H5G_DATASET and </link> is of type H5G_LINK
+--------------------------------
Some objects are not comparable
+--------------------------------
diff --git a/tools/testfiles/h5diff_22.txt b/tools/testfiles/h5diff_22.txt
index a32cf21..6a1637e 100644
--- a/tools/testfiles/h5diff_22.txt
+++ b/tools/testfiles/h5diff_22.txt
@@ -2,4 +2,6 @@
Expected output for 'h5diff file3.h5 file3.h5 -v dset type'
#############################
Comparison not possible: </dset> is of type H5G_DATASET and </type> is of type H5G_TYPE
+--------------------------------
Some objects are not comparable
+--------------------------------
diff --git a/tools/testfiles/h5diff_57.txt b/tools/testfiles/h5diff_57.txt
index b391530..32ced1c 100644
--- a/tools/testfiles/h5diff_57.txt
+++ b/tools/testfiles/h5diff_57.txt
@@ -10,4 +10,6 @@ Warning: Different storage datatype
</dset7b> has file datatype H5T_STD_U8LE
Comparison not supported: </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/testfiles/h5diff_70.txt b/tools/testfiles/h5diff_70.txt
index 99aed5e..534ff1a 100644
--- a/tools/testfiles/h5diff_70.txt
+++ b/tools/testfiles/h5diff_70.txt
@@ -1142,4 +1142,6 @@ position float3D of </> float3D of </> difference
[ 3 2 0 ] 23.000000 0.000000 23.000000
[ 3 2 1 ] 24.000000 0.000000 24.000000
24 differences found
+--------------------------------
Some objects are not comparable
+--------------------------------
diff --git a/tools/testfiles/h5diff_80.txt b/tools/testfiles/h5diff_80.txt
index b2142e8..a3a5b15 100644
--- a/tools/testfiles/h5diff_80.txt
+++ b/tools/testfiles/h5diff_80.txt
@@ -712,4 +712,6 @@ position vlen3D vlen3D difference
59 differences found
Group: </> and </>
0 differences found
+--------------------------------
Some objects are not comparable
+--------------------------------