summaryrefslogtreecommitdiffstats
path: root/tools/testfiles
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2003-04-02 18:44:12 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2003-04-02 18:44:12 (GMT)
commitfebe7d0bd9c74b3e238870e6ce50b1b1a8258221 (patch)
treea14aaeea6f7a356f018f3d2978de0f7f696f7c8e /tools/testfiles
parent18b98b4298afd4beacf3ddca70f87c104d2002b3 (diff)
downloadhdf5-febe7d0bd9c74b3e238870e6ce50b1b1a8258221.zip
hdf5-febe7d0bd9c74b3e238870e6ce50b1b1a8258221.tar.gz
hdf5-febe7d0bd9c74b3e238870e6ce50b1b1a8258221.tar.bz2
[svn-r6563] Purpose:
added test script for h5diff code cleaning for alpha release makefile now generates the h5difftst.c program that generates 2 .h5 files for testing Description: the .sh script runs several runs of h5diff and compares the output with a predifined output located in /tools/testfiles (.txt files) righ now it has only one test Solution: Platforms tested: linux (other platforms later , ok !? ) Misc. update:
Diffstat (limited to 'tools/testfiles')
-rw-r--r--tools/testfiles/h5diff_1.txt17
-rw-r--r--tools/testfiles/h5diff_test1.h5bin0 -> 5784 bytes
-rw-r--r--tools/testfiles/h5diff_test2.h5bin0 -> 11088 bytes
3 files changed, 17 insertions, 0 deletions
diff --git a/tools/testfiles/h5diff_1.txt b/tools/testfiles/h5diff_1.txt
new file mode 100644
index 0000000..0880efa
--- /dev/null
+++ b/tools/testfiles/h5diff_1.txt
@@ -0,0 +1,17 @@
+#############################
+Expected output for 'h5diff h5diff_test1.h5'
+#############################
+h5diff [OBJ1_NAME] [OBJ2_NAME] [-h] [-l] [-r] [-d] [-n count] [-d delta] [-p relativet] FILE1_NAME FILE2_NAME
+
+ [OBJ1_NAME] Name of an HDF5 object
+ [OBJ2_NAME] Name of an HDF5 object
+ [-h ] Print a basic help message (this message)
+ [-l ] List contents of file
+ [-r ] Print only what objects differ
+ [-n count] Print difference up to count number for each variable
+ [-d delta] Print difference when it is greater than limit delta
+ [-p relative] Print differences which are within a relative error value
+ FILE1_NAME File name of the first HDF5 file
+ FILE2_NAME File name of the second HDF5 file
+
+Items in [ ] are optional
diff --git a/tools/testfiles/h5diff_test1.h5 b/tools/testfiles/h5diff_test1.h5
new file mode 100644
index 0000000..f31aeb2
--- /dev/null
+++ b/tools/testfiles/h5diff_test1.h5
Binary files differ
diff --git a/tools/testfiles/h5diff_test2.h5 b/tools/testfiles/h5diff_test2.h5
new file mode 100644
index 0000000..fa43267
--- /dev/null
+++ b/tools/testfiles/h5diff_test2.h5
Binary files differ