summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Fortner <fortnern@gmail.com>2023-05-01 19:31:09 (GMT)
committerGitHub <noreply@github.com>2023-05-01 19:31:09 (GMT)
commit62058276a9d8620a04136816331894699412dec9 (patch)
tree4250052c24133570abe28a45a27a53d7e75d3776
parent265494b5b94c9f83ce80e06669bab83398c1970b (diff)
downloadhdf5-62058276a9d8620a04136816331894699412dec9.zip
hdf5-62058276a9d8620a04136816331894699412dec9.tar.gz
hdf5-62058276a9d8620a04136816331894699412dec9.tar.bz2
Skip page buffer test for "no selection I/O cause" when using split or multi driver (#2866)
-rw-r--r--test/select_io_dset.c11
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;