summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2006-08-24 16:09:23 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2006-08-24 16:09:23 (GMT)
commit0274a5f3a23c33b52875cb646e319f2784c04595 (patch)
tree5bc60af86dfe6a27b635c101c7f378a00545ec57 /test
parent35661615a5a27afa3f2b85325a45cf7bed856794 (diff)
downloadhdf5-0274a5f3a23c33b52875cb646e319f2784c04595.zip
hdf5-0274a5f3a23c33b52875cb646e319f2784c04595.tar.gz
hdf5-0274a5f3a23c33b52875cb646e319f2784c04595.tar.bz2
[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.
Diffstat (limited to 'test')
-rw-r--r--test/fheap.c2
-rw-r--r--test/links.c3
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... */