From 0274a5f3a23c33b52875cb646e319f2784c04595 Mon Sep 17 00:00:00 2001 From: James Laird Date: Thu, 24 Aug 2006 11:09:23 -0500 Subject: [svn-r12627] Skipped links and fheap tests when stdio file driver is used. These errors should be investigated more thoroughly later. The underlying problem in links.c seems to be that files opened multiple times don't share the same H5F_shared_t struct. Perhaps identifying when this is the case would be helpful? Tested on mir. --- test/fheap.c | 2 +- test/links.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/fheap.c b/test/fheap.c index aa35d63..eafcc5c 100644 --- a/test/fheap.c +++ b/test/fheap.c @@ -14558,7 +14558,7 @@ main(void) envval = HDgetenv("HDF5_DRIVER"); if(envval == NULL) envval = "nomatch"; - if(HDstrcmp(envval, "core") && HDstrcmp(envval, "split") && HDstrcmp(envval, "multi") && HDstrcmp(envval, "family")) + if(HDstrcmp(envval, "core") && HDstrcmp(envval, "split") && HDstrcmp(envval, "multi") && HDstrcmp(envval, "family") && HDstrcmp(envval, "stdio")) { /* Initialize heap creation parameters */ diff --git a/test/links.c b/test/links.c index 61648bf..0321ded 100644 --- a/test/links.c +++ b/test/links.c @@ -5014,6 +5014,7 @@ check_all_closed(hid_t fapl) return 0; error: + printf("Error on file %d.\n", x); H5E_BEGIN_TRY { H5Fclose(fid); } H5E_END_TRY; @@ -5047,7 +5048,7 @@ main(void) envval = HDgetenv("HDF5_DRIVER"); if (envval == NULL) envval = "nomatch"; - if (HDstrcmp(envval, "core") && HDstrcmp(envval, "split") && HDstrcmp(envval, "multi") && HDstrcmp(envval, "family")) { + if (HDstrcmp(envval, "core") && HDstrcmp(envval, "split") && HDstrcmp(envval, "multi") && HDstrcmp(envval, "family") && HDstrcmp(envval, "stdio")) { h5_reset(); fapl = h5_fileaccess(); /* The tests... */ -- cgit v0.12