summaryrefslogtreecommitdiffstats
path: root/test/vds.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/vds.c')
-rw-r--r--test/vds.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/test/vds.c b/test/vds.c
index ac9bb5d..61b974b 100644
--- a/test/vds.c
+++ b/test/vds.c
@@ -12288,9 +12288,24 @@ main(void)
hid_t src_fapl = -1; /* File access property list */
int test_api_config;
unsigned bit_config;
- H5F_libver_t low, high; /* Low and high bounds */
+ H5F_libver_t low, high; /* Low and high bounds */
+ const char * env_h5_drvr; /* File Driver value from environment */
int nerrors = 0;
+ env_h5_drvr = HDgetenv(HDF5_DRIVER);
+ if (env_h5_drvr == NULL)
+ env_h5_drvr = "nomatch";
+
+ /*
+ * Skip VDS tests for parallel-enabled and splitter VFDs. VDS currently
+ * doesn't support parallel reads and the splitter VFD has external
+ * link-related bugs.
+ */
+ if (h5_using_parallel_driver(env_h5_drvr) || !HDstrcmp(env_h5_drvr, "splitter")) {
+ HDputs(" -- SKIPPED for incompatible VFD --");
+ HDexit(EXIT_SUCCESS);
+ }
+
/* Testing setup */
h5_reset();
fapl = h5_fileaccess();