diff options
Diffstat (limited to 'test/select_io_dset.c')
-rw-r--r-- | test/select_io_dset.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/select_io_dset.c b/test/select_io_dset.c index 9a1de06..0724365 100644 --- a/test/select_io_dset.c +++ b/test/select_io_dset.c @@ -2860,6 +2860,17 @@ test_no_selection_io_cause_mode(const char *filename, hid_t fapl, uint32_t test_ int rbuf[DSET_SELECT_DIM]; int i; + /* Check for (currently) incompatible combinations */ + if (test_mode & TEST_PAGE_BUFFER) { + char *env_h5_drvr = NULL; + + /* The split and multi driver are not compatible with page buffering. No message since the other + * cases aren't skipped. */ + env_h5_drvr = HDgetenv(HDF5_DRIVER); + if (env_h5_drvr && (!HDstrcmp(env_h5_drvr, "split") || !HDstrcmp(env_h5_drvr, "multi"))) + return 0; + } + if ((fcpl = H5Pcreate(H5P_FILE_CREATE)) < 0) FAIL_STACK_ERROR; |