diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-10-01 22:02:41 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-10-01 22:02:41 (GMT) |
commit | 87bed2c75284cfb13a1e88f34e48103d6614eedc (patch) | |
tree | 7671a437a2077df669a84856a6e294059ba6fc0e /testpar | |
parent | bfdf66356924857ed6b515bbc6a0bc150b2a221e (diff) | |
download | hdf5-87bed2c75284cfb13a1e88f34e48103d6614eedc.zip hdf5-87bed2c75284cfb13a1e88f34e48103d6614eedc.tar.gz hdf5-87bed2c75284cfb13a1e88f34e48103d6614eedc.tar.bz2 |
[svn-r25651] Fix for: HDFFV-8715
HDF5_PARAPREFIX is ignored in parallel dense attribute and performance tests.
tested on Jam w/ parallel.
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 df6257f..c55e2de 100644 --- a/testpar/testphdf5.c +++ b/testpar/testphdf5.c @@ -528,7 +528,7 @@ int main(int argc, char **argv) } AddTest("denseattr", test_dense_attr, NULL, - "Store Dense Attributes", NULL); + "Store Dense Attributes", PARATESTFILE); /* Display testing information */ |