diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2022-04-08 13:22:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-08 13:22:07 (GMT) |
commit | 236297c00d630b391b2ee3b98e67b0b83d642a12 (patch) | |
tree | 4c047585c6c8878d3d592dc398536ccff27ee5ee /test/dangle.c | |
parent | 02d0208187af16137d01a3261961ab8fabd65d28 (diff) | |
download | hdf5-236297c00d630b391b2ee3b98e67b0b83d642a12.zip hdf5-236297c00d630b391b2ee3b98e67b0b83d642a12.tar.gz hdf5-236297c00d630b391b2ee3b98e67b0b83d642a12.tar.bz2 |
1.12: Last round of normalizations for 1.12.2 (#1621)
Diffstat (limited to 'test/dangle.c')
-rw-r--r-- | test/dangle.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/test/dangle.c b/test/dangle.c index d41507b..5f7a84f 100644 --- a/test/dangle.c +++ b/test/dangle.c @@ -660,7 +660,21 @@ error: int main(void) { - int nerrors = 0; + const char *env_h5_drvr; /* File Driver value from environment */ + int nerrors = 0; + + /* Get the VFD to use */ + env_h5_drvr = HDgetenv("HDF5_DRIVER"); + if (env_h5_drvr == NULL) + env_h5_drvr = "nomatch"; + + /* Don't run this test with the multi/split VFD. A bug in library shutdown + * ordering causes problems with the multi VFD when IDs are left dangling. + */ + if (!HDstrcmp(env_h5_drvr, "multi") || !HDstrcmp(env_h5_drvr, "split")) { + HDputs(" -- SKIPPED for incompatible VFD --"); + return 0; + } /* Run tests w/weak file close */ HDputs("Testing dangling objects with weak file close:"); |