summaryrefslogtreecommitdiffstats
path: root/hl/test
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2007-06-02 18:19:36 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2007-06-02 18:19:36 (GMT)
commit1280f90f8128a72f1b2cfe45d3a5a24334c222e0 (patch)
treea7969815417facfd248292e2830679fd4fbea9df /hl/test
parent2aa1084117a0040dbb6c54246837cd3133f51bdf (diff)
downloadhdf5-1280f90f8128a72f1b2cfe45d3a5a24334c222e0.zip
hdf5-1280f90f8128a72f1b2cfe45d3a5a24334c222e0.tar.gz
hdf5-1280f90f8128a72f1b2cfe45d3a5a24334c222e0.tar.bz2
[svn-r13829] Some systems (only SGI Altix ProPack 4 discovered so far) doesn't return correct
file size from MPI_File_get_size. Bypass this problem by replacing it with stat. Add an option --disable-mpi-size in configure to indicate this function doesn't work properly. Add a test in testpar/t_mpi.c, too. If it returns wrong file size, print out a warning. Tested on kagiso (parallel) because already tested the same change to v1.6 on several platforms (kagiso, cobalt, copper, and sol).
Diffstat (limited to 'hl/test')
-rw-r--r--hl/test/Makefile.in1
-rw-r--r--hl/test/test_table.c3
2 files changed, 1 insertions, 3 deletions
diff --git a/hl/test/Makefile.in b/hl/test/Makefile.in
index 1e580c6..08276d4 100644
--- a/hl/test/Makefile.in
+++ b/hl/test/Makefile.in
@@ -190,6 +190,7 @@ MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
MPE = @MPE@
+MPI_GET_SIZE = @MPI_GET_SIZE@
OBJECT_NAMELEN_DEFAULT_F = @OBJECT_NAMELEN_DEFAULT_F@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
diff --git a/hl/test/test_table.c b/hl/test/test_table.c
index f5b73f9..16172c4 100644
--- a/hl/test/test_table.c
+++ b/hl/test/test_table.c
@@ -354,7 +354,6 @@ int test_table(hid_t fid, int write)
PASSED();
}
-
TESTING2("reading table");
/*-------------------------------------------------------------------------
@@ -1355,7 +1354,6 @@ int test_table(hid_t fid, int write)
PASSED();
}
-
/*-------------------------------------------------------------------------
*
* Functions tested:
@@ -1374,7 +1372,6 @@ int test_table(hid_t fid, int write)
chunk_size,fill,compress,wbuf)<0)
goto out;
-
/* delete the field */
if ( H5TBdelete_field(fid, "table14", "Pressure" ) < 0 )
goto out;