summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2007-02-12 21:07:40 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2007-02-12 21:07:40 (GMT)
commit0f83bd0964b7a6395e51bb1d03216049df49c57d (patch)
tree724b6e4e278ba25b41c620f124d3144422dd73c3
parent068e29b9f141a87a0b730b0b15f31c9cb36a634f (diff)
downloadhdf5-0f83bd0964b7a6395e51bb1d03216049df49c57d.zip
hdf5-0f83bd0964b7a6395e51bb1d03216049df49c57d.tar.gz
hdf5-0f83bd0964b7a6395e51bb1d03216049df49c57d.tar.bz2
[svn-r13282] Skip this test if the driver is direct and the express test mode is
set on because it takes too long on copper.
-rw-r--r--test/fheap.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/test/fheap.c b/test/fheap.c
index 87b72cf..bb96fda 100644
--- a/test/fheap.c
+++ b/test/fheap.c
@@ -15555,7 +15555,14 @@ main(void)
envval = HDgetenv("HDF5_DRIVER");
if(envval == NULL)
envval = "nomatch";
- if(HDstrcmp(envval, "core") && HDstrcmp(envval, "split") && HDstrcmp(envval, "multi") && HDstrcmp(envval, "family") && HDstrcmp(envval, "stdio"))
+
+ /* This test case with Direct driver has a poor performance on
+ * NCSA copper, though it works. Skip it if the express mode is set on
+ * and worry about the performance later.
+ */
+ if((HDstrcmp(envval, "core") && HDstrcmp(envval, "split") && HDstrcmp(envval, "multi") &&
+ HDstrcmp(envval, "family") && HDstrcmp(envval, "stdio")) &&
+ !(!HDstrcmp(envval, "direct") && (ExpressMode > 1)))
{
/* Initialize heap creation parameters */
@@ -16010,7 +16017,7 @@ HDfprintf(stderr, "Uncomment cleanup!\n");
#endif /* QAK */
} /* end if(HDstrcmp(envval=="...")) */
else {
- printf("All fractal heap tests skipped - Incompatible with current Virtual File Driver");
+ printf("All fractal heap tests skipped - Incompatible with current Virtual File Driver\n");
}
return 0;