summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMike McGreevy <mamcgree@hdfgroup.org>2008-05-15 17:36:23 (GMT)
committerMike McGreevy <mamcgree@hdfgroup.org>2008-05-15 17:36:23 (GMT)
commitb6ea60eceb02a50b161e91f841b82213e4dd4af2 (patch)
tree05d3e6b9eadb60d81547c50c38ccadba3995d0fc /test
parent942083b81436934103e0fde18115aed6ed79c116 (diff)
downloadhdf5-b6ea60eceb02a50b161e91f841b82213e4dd4af2.zip
hdf5-b6ea60eceb02a50b161e91f841b82213e4dd4af2.tar.gz
hdf5-b6ea60eceb02a50b161e91f841b82213e4dd4af2.tar.bz2
[svn-r15008] Purpose: configure and source code cleanup
Description: cleaning up configure related to removal of --disable-hsizet flag, which we no longer support. Furthermore, the H5_HAVE_LARGE_HSIZET macros in the source code have been removed. Tested: kagiso
Diffstat (limited to 'test')
-rw-r--r--test/big.c6
-rw-r--r--test/istore.c4
-rw-r--r--test/tfile.c8
3 files changed, 0 insertions, 18 deletions
diff --git a/test/big.c b/test/big.c
index 1c0c9d8..477537a 100644
--- a/test/big.c
+++ b/test/big.c
@@ -579,12 +579,6 @@ main (int ac, char **av)
usage();
goto quit;
}
- if (sizeof(hsize_t)<=4) {
- puts("Test skipped because the hdf5 library was configured with the");
- puts("--disable-hsizet flag in order to work around a compiler bug.");
- usage();
- goto quit;
- }
}
/* Do the test with the Family Driver */
diff --git a/test/istore.c b/test/istore.c
index 8fd55bf..4386bd1 100644
--- a/test/istore.c
+++ b/test/istore.c
@@ -47,11 +47,7 @@ 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];
hsize_t zero[H5O_LAYOUT_NDIMS];
diff --git a/test/tfile.c b/test/tfile.c
index 15a4373..f04e116 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -1220,11 +1220,7 @@ test_file_freespace(void)
/* Check that there is the right amount of free space in the file */
free_space = H5Fget_freespace(file);
CHECK(free_space, FAIL, "H5Fget_freespace");
-#ifdef H5_HAVE_LARGE_HSIZET
VERIFY(free_space, 168, "H5Fget_freespace");
-#else /* H5_HAVE_LARGE_HSIZET */
- VERIFY(free_space, 76, "H5Fget_freespace");
-#endif /* H5_HAVE_LARGE_HSIZET */
/* Delete datasets in file */
for(u=0; u<10; u++) {
@@ -1236,11 +1232,7 @@ test_file_freespace(void)
/* Check that there is the right amount of free space in the file */
free_space = H5Fget_freespace(file);
CHECK(free_space, FAIL, "H5Fget_freespace");
-#ifdef H5_HAVE_LARGE_HSIZET
VERIFY(free_space, 3584, "H5Fget_freespace");
-#else /* H5_HAVE_LARGE_HSIZET */
- VERIFY(free_space, 3428, "H5Fget_freespace");
-#endif /* H5_HAVE_LARGE_HSIZET */
/* Close file */
ret = H5Fclose(file);