summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2014-10-09 19:24:40 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2014-10-09 19:24:40 (GMT)
commit356f15512249de605e409d2977b0f9f26437b64f (patch)
treebadfc1c13050bc1e4f3670fd7d2db91e6137f4e2 /testpar
parent30a3aee50d29bc1cb8db1a4c88aff07757e00be4 (diff)
parent9a074a6679fa08b6aa07cc9d2599c51ddb22f514 (diff)
downloadhdf5-356f15512249de605e409d2977b0f9f26437b64f.zip
hdf5-356f15512249de605e409d2977b0f9f26437b64f.tar.gz
hdf5-356f15512249de605e409d2977b0f9f26437b64f.tar.bz2
[svn-r25687] merge from trunk.
Diffstat (limited to 'testpar')
-rw-r--r--testpar/t_dset.c7
-rw-r--r--testpar/testphdf5.c2
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 */