summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2015-01-21 21:00:22 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2015-01-21 21:00:22 (GMT)
commit4b9ee6b88b3415baa684c9a2d0fb9379f7687768 (patch)
treee0542599f2be5c9f804108fabeb7d1c4d05322e3 /test
parente8e06cbca06eba0ff1107caf7f4cbeb1f0f835c6 (diff)
downloadhdf5-4b9ee6b88b3415baa684c9a2d0fb9379f7687768.zip
hdf5-4b9ee6b88b3415baa684c9a2d0fb9379f7687768.tar.gz
hdf5-4b9ee6b88b3415baa684c9a2d0fb9379f7687768.tar.bz2
[svn-r25996] - merge changes from trunk to eliminate usage of IS_H5FD_MPI Macro.
- add 2 missing feature flags for VFDs: H5FD_FEAT_HAS_MPI & H5FD_FEAT_ALLOCATE_EARLY and use them as appropriate. tested with h5commitest
Diffstat (limited to 'test')
-rw-r--r--test/links.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/links.c b/test/links.c
index 95398cd..d45a233 100644
--- a/test/links.c
+++ b/test/links.c
@@ -4145,7 +4145,8 @@ external_set_elink_cb(hid_t fapl, hbool_t new_format)
op_data.target_file = filename2;
/* Core file driver has issues when used as the member file driver for a family file */
/* Family file driver cannot be used with family or multi drivers for member files */
- /* Also disable parallel member drivers, because IS_H5FD_MPI whould report FALSE, causing problems */
+ /* Also disable parallel member drivers, because H5F_HAS_FEATURE(H5FD_FEAT_HAS_MPI)
+ would report FALSE, causing problems */
base_driver = H5Pget_driver(fapl);
op_data.base_fapl = (base_driver == H5FD_FAMILY || base_driver == H5FD_MULTI
|| base_driver == H5FD_MPIO || base_driver == H5FD_CORE) ? H5P_DEFAULT : fapl;