diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2015-02-18 22:01:17 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2015-02-18 22:01:17 (GMT) |
commit | 62ec301df90a98dde27a48ee03e5ef2043d33dab (patch) | |
tree | f9bd73822bb404dff349c8cf756d35355244b84b /testpar | |
parent | 8eb6ce7fc6e986fd81f74530a085d1c2d2159190 (diff) | |
download | hdf5-62ec301df90a98dde27a48ee03e5ef2043d33dab.zip hdf5-62ec301df90a98dde27a48ee03e5ef2043d33dab.tar.gz hdf5-62ec301df90a98dde27a48ee03e5ef2043d33dab.tar.bz2 |
[svn-r26224] merge 26180 from trunk:vms_last_support_1_8
configure fixes for HDFFV-9068,9069,9096,9097,9135 from autotools_rework branch:
- Remove Infering parallel compilers (C and Fortran) from configure.ac
- Remove restriction to build shared with parallel
- Cleanup parallel sections in configure.ac
- remove large file support checks
- MPE fixes.
Diffstat (limited to 'testpar')
-rw-r--r-- | testpar/Makefile.in | 1 | ||||
-rw-r--r-- | testpar/t_pflush2.c | 9 |
2 files changed, 8 insertions, 2 deletions
diff --git a/testpar/Makefile.in b/testpar/Makefile.in index dc5b6b1..2f4d1cf 100644 --- a/testpar/Makefile.in +++ b/testpar/Makefile.in @@ -509,7 +509,6 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTRUMENT = @INSTRUMENT@ INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@ -LARGEFILE = @LARGEFILE@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ diff --git a/testpar/t_pflush2.c b/testpar/t_pflush2.c index a570d4c..7f8a23f 100644 --- a/testpar/t_pflush2.c +++ b/testpar/t_pflush2.c @@ -101,13 +101,17 @@ check_file(char* name, hid_t fapl) if(H5Dclose(dset) < 0) goto error; if(H5Fclose(file) < 0) goto error; if(H5Pclose(plist) < 0) goto error; + if(H5Sclose(space) < 0) goto error; return 0; error: H5E_BEGIN_TRY { - H5Fclose(file); H5Pclose(plist); + H5Gclose(groups); + H5Dclose(dset); + H5Fclose(file); + H5Sclose(space); } H5E_END_TRY; return 1; } @@ -206,6 +210,9 @@ main(int argc, char* argv[]) puts(" Test not compatible with current Virtual File Driver"); } + /* close HDF5 library */ + H5close(); + MPI_Finalize(); return 0; |