Skip page buffer test for "no selection I/O cause" when using split or multi driver (#2866)

This commit is contained in:
Neil Fortner
2023-05-01 14:31:09 -05:00
committed by GitHub
parent 265494b5b9
commit 62058276a9
+11
View File
@@ -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;