diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2007-05-21 15:24:50 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2007-05-21 15:24:50 (GMT) |
commit | c80d46791fd63dbe0ccc1530fcbbd9ed67be1901 (patch) | |
tree | d2ec56171df657a0426b89e43416ef0ec8ae1506 /tools/testfiles | |
parent | 71befdadcf5ae79650875a4e19b8cc5dc0aac468 (diff) | |
download | hdf5-c80d46791fd63dbe0ccc1530fcbbd9ed67be1901.zip hdf5-c80d46791fd63dbe0ccc1530fcbbd9ed67be1901.tar.gz hdf5-c80d46791fd63dbe0ccc1530fcbbd9ed67be1901.tar.bz2 |
[svn-r13775]
Modified the current h5dump test script to use h5import/h5diff calls to validate the binary output. At this moment it can only be used with the native test, since h5import does not deal with input endianess.
tested: linux, sunos 5.10
Diffstat (limited to 'tools/testfiles')
-rw-r--r-- | tools/testfiles/out3.h5import | 7 | ||||
-rw-r--r-- | tools/testfiles/tbin1.ddl | 11 | ||||
-rw-r--r-- | tools/testfiles/tbin3.ddl | 8 |
3 files changed, 17 insertions, 9 deletions
diff --git a/tools/testfiles/out3.h5import b/tools/testfiles/out3.h5import new file mode 100644 index 0000000..29346e1 --- /dev/null +++ b/tools/testfiles/out3.h5import @@ -0,0 +1,7 @@ +PATH /integer +RANK 1 +DIMENSION-SIZES 6 +INPUT-CLASS IN + + + diff --git a/tools/testfiles/tbin1.ddl b/tools/testfiles/tbin1.ddl index 3adbac0..22facb8 100644 --- a/tools/testfiles/tbin1.ddl +++ b/tools/testfiles/tbin1.ddl @@ -1,11 +1,12 @@ ############################# -Expected output for 'h5dump -d integer -o out1.bin -b LE tbinary.h5' +Expected output for 'h5dump -d array -o out1.bin -b LE tbinary.h5' ############################# HDF5 "tbinary.h5" { -DATASET "integer" { - DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 6 ) / ( 6 ) } +DATASET "array" { + DATATYPE H5T_ARRAY { [6] H5T_STD_I32LE } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - } + } } } +h5dump error: unable to print data diff --git a/tools/testfiles/tbin3.ddl b/tools/testfiles/tbin3.ddl index a49547f..cd2c2b5 100644 --- a/tools/testfiles/tbin3.ddl +++ b/tools/testfiles/tbin3.ddl @@ -1,10 +1,10 @@ ############################# -Expected output for 'h5dump -d array -o out3.bin -b MEMORY tbinary.h5' +Expected output for 'h5dump -d integer -o out3.bin -b MEMORY tbinary.h5' ############################# HDF5 "tbinary.h5" { -DATASET "array" { - DATATYPE H5T_ARRAY { [6] H5T_STD_I32LE } - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } +DATASET "integer" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 6 ) / ( 6 ) } DATA { } } |