From 0f83bd0964b7a6395e51bb1d03216049df49c57d Mon Sep 17 00:00:00 2001 From: Raymond Lu Date: Mon, 12 Feb 2007 16:07:40 -0500 Subject: [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. --- test/fheap.c | 11 +++++++++-- 1 file 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; -- cgit v0.12