From 8d7dbd9dc1d33990028bbf00a3424545d8e06033 Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Tue, 20 Sep 2005 13:56:59 -0500 Subject: [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: --- tools/h5diff/h5diff_common.c | 2 ++ tools/testfiles/h5diff_20.txt | 2 ++ tools/testfiles/h5diff_21.txt | 2 ++ tools/testfiles/h5diff_22.txt | 2 ++ tools/testfiles/h5diff_57.txt | 2 ++ tools/testfiles/h5diff_70.txt | 2 ++ tools/testfiles/h5diff_80.txt | 2 ++ 7 files changed, 14 insertions(+) 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: is of type H5G_DATASET and 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: is of type H5G_DATASET and 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: is of type H5G_DATASET and 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 has file datatype H5T_STD_U8LE Comparison not supported: has sign H5T_SGN_2 and 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 +-------------------------------- -- cgit v0.12