summaryrefslogtreecommitdiffstats
path: root/tools/testfiles
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-03-28 21:25:10 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-03-28 21:25:10 (GMT)
commitcd25a7690abbd3665996dc7657b13101ba032c79 (patch)
treef6f9e860bb7e86d7d496875f87af9fff58f667aa /tools/testfiles
parent194d3dfe522c2b6612586829d47e830ad5c7ef0c (diff)
downloadhdf5-cd25a7690abbd3665996dc7657b13101ba032c79.zip
hdf5-cd25a7690abbd3665996dc7657b13101ba032c79.tar.gz
hdf5-cd25a7690abbd3665996dc7657b13101ba032c79.tar.bz2
[svn-r12171] Purpose:
bug fixes Description: h5dump/h5ls were not displaying long doubles correctly Solution: 1) the print datatype functions were incorrectly testing for the valid return value from H5Tequal, (TRUE), causing the display of an incorrect name of a dataype in error cases from H5Tequal 2) h5tools_print_str did not have a case for native long double 3) added a file generator for a long double dataset 4) added one script test for the long double data (commented , some sytems don't have a native long double match, and the output differs) 5) added a vms file and h5dump script test Platforms tested: linux 32, 64 solaris AIX Misc. update:
Diffstat (limited to 'tools/testfiles')
-rw-r--r--tools/testfiles/tldouble.h5bin0 -> 2096 bytes
-rw-r--r--tools/testfiles/tnbit.ddl2
-rw-r--r--tools/testfiles/tvms.ddl18
-rw-r--r--tools/testfiles/tvms.h5bin0 -> 2288 bytes
4 files changed, 19 insertions, 1 deletions
diff --git a/tools/testfiles/tldouble.h5 b/tools/testfiles/tldouble.h5
new file mode 100644
index 0000000..56f673f
--- /dev/null
+++ b/tools/testfiles/tldouble.h5
Binary files differ
diff --git a/tools/testfiles/tnbit.ddl b/tools/testfiles/tnbit.ddl
index 2abcc74..a8bf549 100644
--- a/tools/testfiles/tnbit.ddl
+++ b/tools/testfiles/tnbit.ddl
@@ -3,7 +3,7 @@ Expected output for 'h5dump -H -p -d nbit tfilters.h5'
#############################
HDF5 "tfilters.h5" {
DATASET "nbit" {
- DATATYPE undefined integer
+ DATATYPE 32-bit little-endian integer
DATASPACE SIMPLE { ( 20, 10 ) / ( 20, 10 ) }
STORAGE_LAYOUT {
CHUNKED ( 10, 5 )
diff --git a/tools/testfiles/tvms.ddl b/tools/testfiles/tvms.ddl
new file mode 100644
index 0000000..359eab7
--- /dev/null
+++ b/tools/testfiles/tvms.ddl
@@ -0,0 +1,18 @@
+#############################
+Expected output for 'h5dump tvms.h5'
+#############################
+HDF5 "tvms.h5" {
+GROUP "/" {
+ DATASET "IntArray" {
+ DATATYPE H5T_VAX_F64
+ DATASPACE SIMPLE { ( 5, 6 ) / ( 5, 6 ) }
+ DATA {
+ (0,0): 0, 1, 2, 3, 4, 5,
+ (1,0): 1, 2, 3, 4, 5, 6,
+ (2,0): 2, 3, 4, 5, 6, 7,
+ (3,0): 3, 4, 5, 6, 7, 8,
+ (4,0): 4, 5, 6, 7, 8, 9
+ }
+ }
+}
+}
diff --git a/tools/testfiles/tvms.h5 b/tools/testfiles/tvms.h5
new file mode 100644
index 0000000..a8712ab
--- /dev/null
+++ b/tools/testfiles/tvms.h5
Binary files differ