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 | |
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')
-rw-r--r-- | testpar/t_dset.c | 7 | ||||
-rw-r--r-- | testpar/testphdf5.c | 2 |
2 files changed, 7 insertions, 2 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"); diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c index 865d381..932e632 100644 --- a/testpar/testphdf5.c +++ b/testpar/testphdf5.c @@ -525,7 +525,7 @@ int main(int argc, char **argv) } AddTest("denseattr", test_dense_attr, NULL, - "Store Dense Attributes", NULL); + "Store Dense Attributes", PARATESTFILE); /* Display testing information */ |