summaryrefslogtreecommitdiffstats
path: root/test/istore.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-11-08 14:21:49 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-11-08 14:21:49 (GMT)
commitdd969f1eadfd2cd500f3f44415b85cfea7216794 (patch)
tree587f50535901e55ac89f66e916f74826c26e75a3 /test/istore.c
parentf809c2d3529f9241b39f90c69c5d2c1b24cbd0b9 (diff)
downloadhdf5-dd969f1eadfd2cd500f3f44415b85cfea7216794.zip
hdf5-dd969f1eadfd2cd500f3f44415b85cfea7216794.tar.gz
hdf5-dd969f1eadfd2cd500f3f44415b85cfea7216794.tar.bz2
[svn-r7827] Purpose:
Bug fix Description: Make --disable-hsizet work properly again by fixing a couple of tests and correcting the definition of SSIZET_MAX. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest not used, as it doesn't test this configuration.
Diffstat (limited to 'test/istore.c')
-rw-r--r--test/istore.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/istore.c b/test/istore.c
index 3e13523..b1c2453 100644
--- a/test/istore.c
+++ b/test/istore.c
@@ -47,7 +47,11 @@ const char *FILENAME[] = {
#define TEST_DATATYPE H5T_NATIVE_UCHAR
#define TEST_CHUNK_SIZE 50
+#ifdef H5_HAVE_LARGE_HSIZET
#define TEST_SPARSE_SIZE 1000000
+#else /* H5_HAVE_LARGE_HSIZET */
+#define TEST_SPARSE_SIZE 1200
+#endif /* H5_HAVE_LARGE_HSIZET */
hsize_t chunk_dims[H5O_LAYOUT_NDIMS];
hssize_t zero[H5O_LAYOUT_NDIMS];