diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-10-07 20:40:06 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-10-07 20:40:06 (GMT) |
commit | 5449df4880af0fb5f9a76eb010f79deb51e5521e (patch) | |
tree | ab8c52ee2c982d91a807ae0535f9ba737e0350c6 /testpar/t_dset.c | |
parent | 27a7a56496e10cb77322fa2eb2b4fe88e957baa6 (diff) | |
download | hdf5-5449df4880af0fb5f9a76eb010f79deb51e5521e.zip hdf5-5449df4880af0fb5f9a76eb010f79deb51e5521e.tar.gz hdf5-5449df4880af0fb5f9a76eb010f79deb51e5521e.tar.bz2 |
[svn-r25682] bring 25651 and 25659 from trunk.
Fix for: HDFFV-8715
HDF5_PARAPREFIX is ignored in parallel dense attribute and performance tests.
Diffstat (limited to 'testpar/t_dset.c')
-rw-r--r-- | testpar/t_dset.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/testpar/t_dset.c b/testpar/t_dset.c index 2bc3b09..281b1c0 100644 --- a/testpar/t_dset.c +++ b/testpar/t_dset.c @@ -4365,6 +4365,11 @@ test_dense_attr(void) hid_t atFileSpace, atid; hsize_t atDims[1] = {10000}; herr_t status; + const char *filename; + + /* get filename */ + filename = (const char *)GetTestParameters(); + HDassert( filename != NULL ); /* set up MPI parameters */ MPI_Comm_size(MPI_COMM_WORLD,&mpi_size); @@ -4376,7 +4381,7 @@ test_dense_attr(void) VRFY((status >= 0), "H5Pset_libver_bounds succeeded"); status = H5Pset_fapl_mpio(fpid, MPI_COMM_WORLD, MPI_INFO_NULL); VRFY((status >= 0), "H5Pset_fapl_mpio succeeded"); - fid = H5Fcreate("ph5Dense.h5", H5F_ACC_TRUNC, H5P_DEFAULT, fpid); + fid = H5Fcreate(filename, H5F_ACC_TRUNC, H5P_DEFAULT, fpid); VRFY((fid > 0), "H5Fcreate succeeded"); status = H5Pclose(fpid); VRFY((status >= 0), "H5Pclose succeeded"); |