mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-19 16:50:46 +08:00
[svn-r6627] Purpose:
added new files for tests , according to test matrix Description: Solution: Platforms tested: Misc. update:
This commit is contained in:
parent
2596820e38
commit
b7df7a09d2
18
tools/testfiles/h5diff_01.txt
Normal file
18
tools/testfiles/h5diff_01.txt
Normal file
@ -0,0 +1,18 @@
|
||||
#############################
|
||||
Expected output for 'h5diff h5diff_test1.h5'
|
||||
#############################
|
||||
Usage: h5diff [obj1_name] [obj2_name] [OPTIONS] file1_name [file2_name]
|
||||
Items in [ ] are optional
|
||||
|
||||
[obj1_name] Name of an HDF5 object
|
||||
[obj2_name] Name of an HDF5 object
|
||||
file1_name File name of the first HDF5 file
|
||||
file2_name File name of the second HDF5 file
|
||||
[OPTIONS] are:
|
||||
[-h ] Print out this information
|
||||
[-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
|
||||
|
4
tools/testfiles/h5diff_010.txt
Normal file
4
tools/testfiles/h5diff_010.txt
Normal file
@ -0,0 +1,4 @@
|
||||
#############################
|
||||
Expected output for 'h5diff h5diff_test1.h6 h5diff_test2.h6'
|
||||
#############################
|
||||
h5diff: h5diff_test1.h6: No such file or directory
|
19
tools/testfiles/h5diff_02.txt
Normal file
19
tools/testfiles/h5diff_02.txt
Normal file
@ -0,0 +1,19 @@
|
||||
#############################
|
||||
Expected output for 'h5diff -x h5diff_test1.h5 h5diff_test2.h5'
|
||||
#############################
|
||||
-x is an invalid option
|
||||
Usage: h5diff [obj1_name] [obj2_name] [OPTIONS] file1_name [file2_name]
|
||||
Items in [ ] are optional
|
||||
|
||||
[obj1_name] Name of an HDF5 object
|
||||
[obj2_name] Name of an HDF5 object
|
||||
file1_name File name of the first HDF5 file
|
||||
file2_name File name of the second HDF5 file
|
||||
[OPTIONS] are:
|
||||
[-h ] Print out this information
|
||||
[-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
|
||||
|
18
tools/testfiles/h5diff_03.txt
Normal file
18
tools/testfiles/h5diff_03.txt
Normal file
@ -0,0 +1,18 @@
|
||||
#############################
|
||||
Expected output for 'h5diff -h h5diff_test1.h5 h5diff_test2.h5'
|
||||
#############################
|
||||
Usage: h5diff [obj1_name] [obj2_name] [OPTIONS] file1_name [file2_name]
|
||||
Items in [ ] are optional
|
||||
|
||||
[obj1_name] Name of an HDF5 object
|
||||
[obj2_name] Name of an HDF5 object
|
||||
file1_name File name of the first HDF5 file
|
||||
file2_name File name of the second HDF5 file
|
||||
[OPTIONS] are:
|
||||
[-h ] Print out this information
|
||||
[-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
|
||||
|
19
tools/testfiles/h5diff_04.txt
Normal file
19
tools/testfiles/h5diff_04.txt
Normal file
@ -0,0 +1,19 @@
|
||||
#############################
|
||||
Expected output for 'h5diff -d h5diff_test1.h5 h5diff_test2.h5'
|
||||
#############################
|
||||
<-d h5diff_test1.h5> is not a valid option
|
||||
Usage: h5diff [obj1_name] [obj2_name] [OPTIONS] file1_name [file2_name]
|
||||
Items in [ ] are optional
|
||||
|
||||
[obj1_name] Name of an HDF5 object
|
||||
[obj2_name] Name of an HDF5 object
|
||||
file1_name File name of the first HDF5 file
|
||||
file2_name File name of the second HDF5 file
|
||||
[OPTIONS] are:
|
||||
[-h ] Print out this information
|
||||
[-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
|
||||
|
19
tools/testfiles/h5diff_05.txt
Normal file
19
tools/testfiles/h5diff_05.txt
Normal file
@ -0,0 +1,19 @@
|
||||
#############################
|
||||
Expected output for 'h5diff -d -4 h5diff_test1.h5 h5diff_test2.h5'
|
||||
#############################
|
||||
<-d -4> is not a valid option
|
||||
Usage: h5diff [obj1_name] [obj2_name] [OPTIONS] file1_name [file2_name]
|
||||
Items in [ ] are optional
|
||||
|
||||
[obj1_name] Name of an HDF5 object
|
||||
[obj2_name] Name of an HDF5 object
|
||||
file1_name File name of the first HDF5 file
|
||||
file2_name File name of the second HDF5 file
|
||||
[OPTIONS] are:
|
||||
[-h ] Print out this information
|
||||
[-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
|
||||
|
19
tools/testfiles/h5diff_06.txt
Normal file
19
tools/testfiles/h5diff_06.txt
Normal file
@ -0,0 +1,19 @@
|
||||
#############################
|
||||
Expected output for 'h5diff -p h5diff_test1.h5 h5diff_test2.h5'
|
||||
#############################
|
||||
<-p h5diff_test1.h5> is not a valid option
|
||||
Usage: h5diff [obj1_name] [obj2_name] [OPTIONS] file1_name [file2_name]
|
||||
Items in [ ] are optional
|
||||
|
||||
[obj1_name] Name of an HDF5 object
|
||||
[obj2_name] Name of an HDF5 object
|
||||
file1_name File name of the first HDF5 file
|
||||
file2_name File name of the second HDF5 file
|
||||
[OPTIONS] are:
|
||||
[-h ] Print out this information
|
||||
[-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
|
||||
|
19
tools/testfiles/h5diff_07.txt
Normal file
19
tools/testfiles/h5diff_07.txt
Normal file
@ -0,0 +1,19 @@
|
||||
#############################
|
||||
Expected output for 'h5diff -p -4 h5diff_test1.h5 h5diff_test2.h5'
|
||||
#############################
|
||||
-4 is an invalid option
|
||||
Usage: h5diff [obj1_name] [obj2_name] [OPTIONS] file1_name [file2_name]
|
||||
Items in [ ] are optional
|
||||
|
||||
[obj1_name] Name of an HDF5 object
|
||||
[obj2_name] Name of an HDF5 object
|
||||
file1_name File name of the first HDF5 file
|
||||
file2_name File name of the second HDF5 file
|
||||
[OPTIONS] are:
|
||||
[-h ] Print out this information
|
||||
[-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
|
||||
|
19
tools/testfiles/h5diff_08.txt
Normal file
19
tools/testfiles/h5diff_08.txt
Normal file
@ -0,0 +1,19 @@
|
||||
#############################
|
||||
Expected output for 'h5diff -n h5diff_test1.h5 h5diff_test2.h5'
|
||||
#############################
|
||||
<-n h5diff_test1.h5> is not a valid option
|
||||
Usage: h5diff [obj1_name] [obj2_name] [OPTIONS] file1_name [file2_name]
|
||||
Items in [ ] are optional
|
||||
|
||||
[obj1_name] Name of an HDF5 object
|
||||
[obj2_name] Name of an HDF5 object
|
||||
file1_name File name of the first HDF5 file
|
||||
file2_name File name of the second HDF5 file
|
||||
[OPTIONS] are:
|
||||
[-h ] Print out this information
|
||||
[-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
|
||||
|
19
tools/testfiles/h5diff_09.txt
Normal file
19
tools/testfiles/h5diff_09.txt
Normal file
@ -0,0 +1,19 @@
|
||||
#############################
|
||||
Expected output for 'h5diff -n 0 h5diff_test1.h5 h5diff_test2.h5'
|
||||
#############################
|
||||
<-n 0> is not a valid option
|
||||
Usage: h5diff [obj1_name] [obj2_name] [OPTIONS] file1_name [file2_name]
|
||||
Items in [ ] are optional
|
||||
|
||||
[obj1_name] Name of an HDF5 object
|
||||
[obj2_name] Name of an HDF5 object
|
||||
file1_name File name of the first HDF5 file
|
||||
file2_name File name of the second HDF5 file
|
||||
[OPTIONS] are:
|
||||
[-h ] Print out this information
|
||||
[-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
|
||||
|
@ -1,17 +0,0 @@
|
||||
#############################
|
||||
Expected output for 'h5diff h5diff_test1.h5'
|
||||
#############################
|
||||
h5diff [OBJ1_NAME] [OBJ2_NAME] [-h] [-l] [-r] [-d] [-n count] [-d delta] [-p relative] 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
|
4
tools/testfiles/h5diff_111.txt
Normal file
4
tools/testfiles/h5diff_111.txt
Normal file
@ -0,0 +1,4 @@
|
||||
#############################
|
||||
Expected output for 'h5diff dset1.1 g1.1 h5diff_test1.h5 h5diff_test2.h5'
|
||||
#############################
|
||||
<dset1.1> is of different type than <g1.1>
|
4
tools/testfiles/h5diff_112.txt
Normal file
4
tools/testfiles/h5diff_112.txt
Normal file
@ -0,0 +1,4 @@
|
||||
#############################
|
||||
Expected output for 'h5diff g1.1 g1.1 h5diff_test1.h5 h5diff_test2.h5'
|
||||
#############################
|
||||
<g1.1> and <g1.1> are of type H5G_GROUP
|
4
tools/testfiles/h5diff_121.txt
Normal file
4
tools/testfiles/h5diff_121.txt
Normal file
@ -0,0 +1,4 @@
|
||||
#############################
|
||||
Expected output for 'h5diff compound h5diff_test1.h5 h5diff_test2.h5'
|
||||
#############################
|
||||
<compound> and <compound> are of type H5G_TYPE
|
4
tools/testfiles/h5diff_122.txt
Normal file
4
tools/testfiles/h5diff_122.txt
Normal file
@ -0,0 +1,4 @@
|
||||
#############################
|
||||
Expected output for 'h5diff enum h5diff_test1.h5 h5diff_test2.h5'
|
||||
#############################
|
||||
<enum> and <enum> are of type H5G_TYPE
|
5
tools/testfiles/h5diff_13.txt
Normal file
5
tools/testfiles/h5diff_13.txt
Normal file
@ -0,0 +1,5 @@
|
||||
#############################
|
||||
Expected output for 'h5diff dset1.3 h5diff_test1.h5 h5diff_test2.h5'
|
||||
#############################
|
||||
Comparing <dset1.3> with <dset1.3>
|
||||
H5T_STRING comparison is not supported
|
5
tools/testfiles/h5diff_14.txt
Normal file
5
tools/testfiles/h5diff_14.txt
Normal file
@ -0,0 +1,5 @@
|
||||
#############################
|
||||
Expected output for 'h5diff dset1.1 dset1.4 h5diff_test1.h5 h5diff_test2.h5'
|
||||
#############################
|
||||
Comparing <dset1.1> with <dset1.4>
|
||||
<dset1.1> is of class H5T_INTEGER and <dset1.4> is of class H5T_FLOAT
|
7
tools/testfiles/h5diff_15.txt
Normal file
7
tools/testfiles/h5diff_15.txt
Normal file
@ -0,0 +1,7 @@
|
||||
#############################
|
||||
Expected output for 'h5diff dset1.1 dset1.5 h5diff_test1.h5 h5diff_test2.h5'
|
||||
#############################
|
||||
Comparing <dset1.1> with <dset1.5>
|
||||
<dset1.1> is of rank 1 and <dset1.5> is of rank 2
|
||||
<dset1.1>: [ 7 ]
|
||||
<dset1.5>: [ 3 ]
|
7
tools/testfiles/h5diff_16.txt
Normal file
7
tools/testfiles/h5diff_16.txt
Normal file
@ -0,0 +1,7 @@
|
||||
#############################
|
||||
Expected output for 'h5diff dset1.1 dset1.6 h5diff_test1.h5 h5diff_test2.h5'
|
||||
#############################
|
||||
Comparing <dset1.1> with <dset1.6>
|
||||
<dset1.1> has different dimensions than <dset1.6>
|
||||
<dset1.1>: [ 7 ]
|
||||
<dset1.6>: [ 8 ]
|
@ -1,18 +0,0 @@
|
||||
#############################
|
||||
Expected output for 'h5diff -x h5diff_test1.h5 h5diff_test2.h5'
|
||||
#############################
|
||||
-x is an invalid option
|
||||
h5diff [OBJ1_NAME] [OBJ2_NAME] [-h] [-l] [-r] [-d] [-n count] [-d delta] [-p relative] 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
|
12
tools/testfiles/h5diff_210.txt
Normal file
12
tools/testfiles/h5diff_210.txt
Normal file
@ -0,0 +1,12 @@
|
||||
#############################
|
||||
Expected output for 'h5diff dset2.1 dset2.2 h5diff_test1.h5 h5diff_test2.h5'
|
||||
#############################
|
||||
Comparing <dset2.1> with <dset2.2>
|
||||
using memory type H5T_NATIVE_SCHAR
|
||||
position dset2.1 dset2.2 difference
|
||||
------------------------------------------------------------
|
||||
[ 1 0 ] 1 3 2
|
||||
[ 1 1 ] 1 4 3
|
||||
[ 2 0 ] 1 5 4
|
||||
[ 2 1 ] 1 6 5
|
||||
4 differences found
|
10
tools/testfiles/h5diff_211.txt
Normal file
10
tools/testfiles/h5diff_211.txt
Normal file
@ -0,0 +1,10 @@
|
||||
#############################
|
||||
Expected output for 'h5diff dset2.1 dset2.2 -n 2 h5diff_test1.h5 h5diff_test2.h5'
|
||||
#############################
|
||||
Comparing <dset2.1> with <dset2.2>
|
||||
using memory type H5T_NATIVE_SCHAR
|
||||
position dset2.1 dset2.2 difference
|
||||
------------------------------------------------------------
|
||||
[ 1 0 ] 1 3 2
|
||||
[ 1 1 ] 1 4 3
|
||||
2 differences found
|
10
tools/testfiles/h5diff_212.txt
Normal file
10
tools/testfiles/h5diff_212.txt
Normal file
@ -0,0 +1,10 @@
|
||||
#############################
|
||||
Expected output for 'h5diff dset2.1 dset2.2 -d 3 h5diff_test1.h5 h5diff_test2.h5'
|
||||
#############################
|
||||
Comparing <dset2.1> with <dset2.2>
|
||||
using memory type H5T_NATIVE_SCHAR
|
||||
position dset2.1 dset2.2 difference
|
||||
------------------------------------------------------------
|
||||
[ 2 0 ] 1 5 4
|
||||
[ 2 1 ] 1 6 5
|
||||
2 differences found
|
@ -1,17 +0,0 @@
|
||||
#############################
|
||||
Expected output for 'h5diff -h h5diff_test1.h5 h5diff_test2.h5'
|
||||
#############################
|
||||
h5diff [OBJ1_NAME] [OBJ2_NAME] [-h] [-l] [-r] [-d] [-n count] [-d delta] [-p relative] 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
|
@ -1,18 +0,0 @@
|
||||
#############################
|
||||
Expected output for 'h5diff -d h5diff_test1.h5 h5diff_test2.h5'
|
||||
#############################
|
||||
<-d h5diff_test1.h5> is not a valid option
|
||||
h5diff [OBJ1_NAME] [OBJ2_NAME] [-h] [-l] [-r] [-d] [-n count] [-d delta] [-p relative] 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
|
@ -1,18 +0,0 @@
|
||||
#############################
|
||||
Expected output for 'h5diff -d -4 h5diff_test1.h5 h5diff_test2.h5'
|
||||
#############################
|
||||
<-d -4> is not a valid option
|
||||
h5diff [OBJ1_NAME] [OBJ2_NAME] [-h] [-l] [-r] [-d] [-n count] [-d delta] [-p relative] 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
|
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user