summaryrefslogtreecommitdiffstats
path: root/test/fillval.c
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2003-05-06 23:24:07 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2003-05-06 23:24:07 (GMT)
commit96061d1be75049dd490f554405a60942c06f79dd (patch)
treee646a5f2d6a10cbb5fab564b5f5d5fe5fdfce11e /test/fillval.c
parentc0de1ca9fe4cdda527a597baa8254f6145349f81 (diff)
downloadhdf5-96061d1be75049dd490f554405a60942c06f79dd.zip
hdf5-96061d1be75049dd490f554405a60942c06f79dd.tar.gz
hdf5-96061d1be75049dd490f554405a60942c06f79dd.tar.bz2
[svn-r6821]
Purpose: Cray T3E maintenance with Raymond's help Description: fillval test failed for compact dataset since the size of the dataset was bigger than 64K. Solution: Reduced the dataspace of the compact dataset to 1024 elements. Platforms tested: T3E; it was also tested with semi-manual h5committest. (I had to built and test manually on modi4 parallel because of some weird failure of h5committest on modi4) Misc. update:
Diffstat (limited to 'test/fillval.c')
-rw-r--r--test/fillval.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/fillval.c b/test/fillval.c
index 85cc002..8161cd9 100644
--- a/test/fillval.c
+++ b/test/fillval.c
@@ -239,8 +239,8 @@ test_create(hid_t fapl, const char *base_name, H5D_layout_t layout)
hid_t file=-1, space=-1, dcpl=-1, comp_type_id=-1;
hid_t dset1=-1, dset2=-1, dset3=-1, dset4=-1, dset5=-1,
dset6=-1, /* dset7=-1, */ dset8=-1, dset9=-1;
- hsize_t cur_size[5] = {2, 16, 8, 4, 2};
- hsize_t ch_size[5] = {1, 1, 1, 4, 2};
+ hsize_t cur_size[5] = {2, 8, 8, 4, 2};
+ hsize_t ch_size[5] = {1, 1, 1, 4, 1};
short rd_s, fill_s = 0x1234;
long rd_l, fill_l = 0x4321;
char filename[1024];
@@ -602,7 +602,7 @@ test_rdwr_cases(hid_t file, hid_t dcpl, const char *dname, void *_fillval,
H5T_class_t datatype, hid_t ctype_id)
{
hid_t fspace=-1, mspace=-1, dset1=-1, dset2=-1;
- hsize_t cur_size[5] = {2, 16, 8, 4, 2};
+ hsize_t cur_size[5] = {2, 8, 8, 4, 2};
hsize_t one[5] = {1, 1, 1, 1, 1};
hsize_t hs_size[5], hs_stride[5];
hssize_t hs_offset[5], nelmts;
@@ -863,7 +863,7 @@ test_rdwr(hid_t fapl, const char *base_name, H5D_layout_t layout)
{
char filename[1024];
hid_t file=-1, dcpl=-1, ctype_id=-1;
- hsize_t ch_size[5] = {2, 16, 8, 4, 2};
+ hsize_t ch_size[5] = {2, 8, 8, 4, 2};
int nerrors=0;
int fillval = 0x4c70f1cd;
comp_datatype fill_ctype={0,0,0,0};