summaryrefslogtreecommitdiffstats
path: root/tools/h5dump
diff options
context:
space:
mode:
authorJonathan Kim <jkm@hdfgroup.org>2011-02-21 21:53:36 (GMT)
committerJonathan Kim <jkm@hdfgroup.org>2011-02-21 21:53:36 (GMT)
commitcf7f31f0c6deccc787291205dabed9b11fc8feee (patch)
tree8d234533154f5d82f762dd04b0c2ebc1bf8e5abe /tools/h5dump
parent09103b6cb0004aaeb3dcc87bf2c2a0dfab4227f0 (diff)
downloadhdf5-cf7f31f0c6deccc787291205dabed9b11fc8feee.zip
hdf5-cf7f31f0c6deccc787291205dabed9b11fc8feee.tar.gz
hdf5-cf7f31f0c6deccc787291205dabed9b11fc8feee.tar.bz2
[svn-r20132] Purpose:
Fixing Bug 2092 - h5dump does not display index for a dataset Description: improve the test case from previous checkin r20108, which also display dataset via region reference. Previous Log: h5dump skip displaying array indices every certain number when the array type dataset is relatively big. The certain number varies according to the size of each array. This checkin fix the skipping array indices problem. This fix also correct indentation of the dataset data output. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake - jam
Diffstat (limited to 'tools/h5dump')
-rw-r--r--tools/h5dump/CMakeLists.txt2
-rw-r--r--tools/h5dump/h5dumpgentest.c2
-rw-r--r--tools/h5dump/testh5dump.sh.in2
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/h5dump/CMakeLists.txt b/tools/h5dump/CMakeLists.txt
index d8980eb..0209c35 100644
--- a/tools/h5dump/CMakeLists.txt
+++ b/tools/h5dump/CMakeLists.txt
@@ -786,7 +786,7 @@ IF (BUILD_TESTING)
# test for files with array data
ADD_H5_TEST (tarray1 0 tarray1.h5)
# # added for bug# 2092 - tarray1_big.h5
- ADD_H5_TEST (tarray1_big 0 tarray1_big.h5)
+ ADD_H5_TEST (tarray1_big 0 -R tarray1_big.h5)
ADD_H5_TEST (tarray2 0 tarray2.h5)
ADD_H5_TEST (tarray3 0 tarray3.h5)
ADD_H5_TEST (tarray4 0 tarray4.h5)
diff --git a/tools/h5dump/h5dumpgentest.c b/tools/h5dump/h5dumpgentest.c
index 8e28f61..0f0ad83 100644
--- a/tools/h5dump/h5dumpgentest.c
+++ b/tools/h5dump/h5dumpgentest.c
@@ -2846,7 +2846,7 @@ static void gent_array1_big(void)
hsize_t block[SPACE1_RANK]; /* Block size of hyperslab */
start[0]=0;
stride[0]=1;
- count[0]=600;
+ count[0]=999;
block[0]=1;
hdset_reg_ref_t *wbuf; /* buffer to write to disk */
/* Allocate write & read buffers */
diff --git a/tools/h5dump/testh5dump.sh.in b/tools/h5dump/testh5dump.sh.in
index 37a1f63..db42cb6 100644
--- a/tools/h5dump/testh5dump.sh.in
+++ b/tools/h5dump/testh5dump.sh.in
@@ -345,7 +345,7 @@ TOOLTEST tvlstr.ddl tvlstr.h5
# test for files with array data
TOOLTEST tarray1.ddl tarray1.h5
# # added for bug# 2092 - tarray1_big.h
-TOOLTEST tarray1_big.ddl tarray1_big.h5
+TOOLTEST tarray1_big.ddl -R tarray1_big.h5
TOOLTEST tarray2.ddl tarray2.h5
TOOLTEST tarray3.ddl tarray3.h5
TOOLTEST tarray4.ddl tarray4.h5