summaryrefslogtreecommitdiffstats
path: root/tools/testfiles
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testfiles')
-rw-r--r--tools/testfiles/tcomp-1.ddl27
-rw-r--r--tools/testfiles/tcomp-2.ddl12
-rw-r--r--tools/testfiles/tcomp-3.ddl2
3 files changed, 19 insertions, 22 deletions
diff --git a/tools/testfiles/tcomp-1.ddl b/tools/testfiles/tcomp-1.ddl
index 80a0535..da0c926 100644
--- a/tools/testfiles/tcomp-1.ddl
+++ b/tools/testfiles/tcomp-1.ddl
@@ -3,10 +3,10 @@ Expected output for 'h5dump tcompound.h5'
#############################
HDF5 "tcompound.h5" {
GROUP "/" {
- DATATYPE "#6632:0"
+ DATATYPE "#6632:0" H5T_COMPOUND {
H5T_STD_I32BE "int";
H5T_IEEE_F32BE "float";
-
+ }
DATASET "dset1" {
DATATYPE H5T_COMPOUND {
H5T_STD_I32BE "a_name";
@@ -44,8 +44,7 @@ GROUP "/" {
}
GROUP "group1" {
DATASET "dset2" {
- DATATYPE "/type1"
-
+ DATATYPE "/type1"
DATASPACE SIMPLE { ( 5 ) / ( 5 ) }
DATA {
{
@@ -71,8 +70,7 @@ GROUP "/" {
}
}
DATASET "dset3" {
- DATATYPE "/type2"
-
+ DATATYPE "/type2"
DATASPACE SIMPLE { ( 3, 6 ) / ( 3, 6 ) }
DATA {
{
@@ -222,8 +220,7 @@ GROUP "/" {
}
}
DATASET "dset4" {
- DATATYPE "/group1/type3"
-
+ DATATYPE "/group1/type3"
DATASPACE SIMPLE { ( 5 ) / ( 5 ) }
DATA {
{
@@ -248,14 +245,14 @@ GROUP "/" {
}
}
}
- DATATYPE "type3"
+ DATATYPE "type3" H5T_COMPOUND {
H5T_STD_I32BE "int";
H5T_IEEE_F32BE "float";
-
+ }
}
GROUP "group2" {
DATASET "dset5" {
- DATATYPE "/#6632:0"
+ DATATYPE "/#6632:0"
DATASPACE SIMPLE { ( 5 ) / ( 5 ) }
DATA {
@@ -282,13 +279,13 @@ GROUP "/" {
}
}
}
- DATATYPE "type1"
+ DATATYPE "type1" H5T_COMPOUND {
H5T_STD_I32BE "int_name";
H5T_IEEE_F32BE "float_name";
-
- DATATYPE "type2"
+ }
+ DATATYPE "type2" H5T_COMPOUND {
H5T_ARRAY { [4] H5T_STD_I32BE } "int_array";
H5T_ARRAY { [5][6] H5T_IEEE_F32BE } "float_array";
-
+ }
}
}
diff --git a/tools/testfiles/tcomp-2.ddl b/tools/testfiles/tcomp-2.ddl
index 32a4c2d..ac978e5 100644
--- a/tools/testfiles/tcomp-2.ddl
+++ b/tools/testfiles/tcomp-2.ddl
@@ -2,16 +2,16 @@
Expected output for 'h5dump -t /type1 /type2 /group1/type3 tcompound.h5'
#############################
HDF5 "tcompound.h5" {
-DATATYPE "/type1"
+DATATYPE "/type1" H5T_COMPOUND {
H5T_STD_I32BE "int_name";
H5T_IEEE_F32BE "float_name";
-
-DATATYPE "/type2"
+}
+DATATYPE "/type2" H5T_COMPOUND {
H5T_ARRAY { [4] H5T_STD_I32BE } "int_array";
H5T_ARRAY { [5][6] H5T_IEEE_F32BE } "float_array";
-
-DATATYPE "/group1/type3"
+}
+DATATYPE "/group1/type3" H5T_COMPOUND {
H5T_STD_I32BE "int";
H5T_IEEE_F32BE "float";
-
+}
}
diff --git a/tools/testfiles/tcomp-3.ddl b/tools/testfiles/tcomp-3.ddl
index 8a75b1d..0018422 100644
--- a/tools/testfiles/tcomp-3.ddl
+++ b/tools/testfiles/tcomp-3.ddl
@@ -7,7 +7,7 @@ DATATYPE "/#5992:0"
GROUP "/group2" {
DATASET "dset5" {
- DATATYPE "/#6632:0"
+ DATATYPE "/#6632:0"
DATASPACE SIMPLE { ( 5 ) / ( 5 ) }
DATA {