summaryrefslogtreecommitdiffstats
path: root/tools/testfiles
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-09-26 15:47:36 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-09-26 15:47:36 (GMT)
commite9188e385af4ac913ee28e26717e9c8fb4336d2f (patch)
tree40ea75ee2506293321c648413e45ae235850a8ce /tools/testfiles
parent53a2d21415105951dd5d81969ee6f21d9e7216f8 (diff)
downloadhdf5-e9188e385af4ac913ee28e26717e9c8fb4336d2f.zip
hdf5-e9188e385af4ac913ee28e26717e9c8fb4336d2f.tar.gz
hdf5-e9188e385af4ac913ee28e26717e9c8fb4336d2f.tar.bz2
[svn-r12683]
revised binary flags, added a new file to the test generator program to be used in the binary tests usage is now -o F, --output=F Output raw data into file F -b F, --binary=F Binary output, of form F (into file -o F). Recommended usage is with --dataset=P Form F of binary output is: MEMORY for memory type, FILE for the disk file type, LE or BE for pre-existing little or big endian types example ./h5dump -d integer -b MEMORY -o out.bin tbinary.h5
Diffstat (limited to 'tools/testfiles')
-rw-r--r--tools/testfiles/tbin1.ddl6
-rw-r--r--tools/testfiles/tbin2.ddl10
-rw-r--r--tools/testfiles/tbin3.ddl6
-rw-r--r--tools/testfiles/tbin4.ddl10
-rw-r--r--tools/testfiles/tbinary.h5bin0 -> 2096 bytes
-rw-r--r--tools/testfiles/tnofilename.ddl8
6 files changed, 20 insertions, 20 deletions
diff --git a/tools/testfiles/tbin1.ddl b/tools/testfiles/tbin1.ddl
index 6b7a155..386ecde 100644
--- a/tools/testfiles/tbin1.ddl
+++ b/tools/testfiles/tbin1.ddl
@@ -1,10 +1,10 @@
#############################
-Expected output for 'h5dump -d integer -b out1.bin test1.h5'
+Expected output for 'h5dump -d integer -o out1.bin -b MEMORY tbinary.h5'
#############################
-HDF5 "test1.h5" {
+HDF5 "tbinary.h5" {
DATASET "integer" {
DATATYPE H5T_STD_I32LE
- DATASPACE SIMPLE { ( 2 ) / ( 2 ) }
+ DATASPACE SIMPLE { ( 6 ) / ( 6 ) }
DATA {
}
}
diff --git a/tools/testfiles/tbin2.ddl b/tools/testfiles/tbin2.ddl
index 2c17692..03f4e48 100644
--- a/tools/testfiles/tbin2.ddl
+++ b/tools/testfiles/tbin2.ddl
@@ -1,10 +1,10 @@
#############################
-Expected output for 'h5dump -d integer -b out2.bin -F DI test1.h5'
+Expected output for 'h5dump -d float -o out2.bin -b FILE tbinary.h5'
#############################
-HDF5 "test1.h5" {
-DATASET "integer" {
- DATATYPE H5T_STD_I32LE
- DATASPACE SIMPLE { ( 2 ) / ( 2 ) }
+HDF5 "tbinary.h5" {
+DATASET "float" {
+ DATATYPE H5T_IEEE_F32LE
+ DATASPACE SIMPLE { ( 6 ) / ( 6 ) }
DATA {
}
}
diff --git a/tools/testfiles/tbin3.ddl b/tools/testfiles/tbin3.ddl
index cbc2660..5226802 100644
--- a/tools/testfiles/tbin3.ddl
+++ b/tools/testfiles/tbin3.ddl
@@ -1,10 +1,10 @@
#############################
-Expected output for 'h5dump -d integer -b out3.bin -F LE test1.h5'
+Expected output for 'h5dump -d integer -o out3.bin -b LE tbinary.h5'
#############################
-HDF5 "test1.h5" {
+HDF5 "tbinary.h5" {
DATASET "integer" {
DATATYPE H5T_STD_I32LE
- DATASPACE SIMPLE { ( 2 ) / ( 2 ) }
+ DATASPACE SIMPLE { ( 6 ) / ( 6 ) }
DATA {
}
}
diff --git a/tools/testfiles/tbin4.ddl b/tools/testfiles/tbin4.ddl
index 3091874..7bd0de3 100644
--- a/tools/testfiles/tbin4.ddl
+++ b/tools/testfiles/tbin4.ddl
@@ -1,10 +1,10 @@
#############################
-Expected output for 'h5dump -d integer -b out4.bin -F BE test1.h5'
+Expected output for 'h5dump -d float -o out4.bin -b BE tbinary.h5'
#############################
-HDF5 "test1.h5" {
-DATASET "integer" {
- DATATYPE H5T_STD_I32LE
- DATASPACE SIMPLE { ( 2 ) / ( 2 ) }
+HDF5 "tbinary.h5" {
+DATASET "float" {
+ DATATYPE H5T_IEEE_F32LE
+ DATASPACE SIMPLE { ( 6 ) / ( 6 ) }
DATA {
}
}
diff --git a/tools/testfiles/tbinary.h5 b/tools/testfiles/tbinary.h5
new file mode 100644
index 0000000..e960d73
--- /dev/null
+++ b/tools/testfiles/tbinary.h5
Binary files differ
diff --git a/tools/testfiles/tnofilename.ddl b/tools/testfiles/tnofilename.ddl
index 543c5d8..92d9196 100644
--- a/tools/testfiles/tnofilename.ddl
+++ b/tools/testfiles/tnofilename.ddl
@@ -21,10 +21,10 @@ usage: h5dump [OPTIONS] file
-g P, --group=P Print the specified group and all members
-l P, --soft-link=P Print the value(s) of the specified soft link
-o F, --output=F Output raw data into file F
- -b F, --binary=F Output raw data into file F in binary form
- (recommended usage is with --dataset=P)
- -F T, --form=T Form of binary output. T is: NA for native type,
- DI for the disk file type, LE or BE for pre-existing
+ -b F, --binary=F Binary output, of form F (into file -o F).
+ Recommended usage is with --dataset=P
+ Form F of binary output is: MEMORY for memory type,
+ FILE for the disk file type, LE or BE for pre-existing
little or big endian types
-t P, --datatype=P Print the specified named data type
-w N, --width=N Set the number of columns of output