From 52ee6d3f1f8503c1afd1f836f7649bcd2a6570b0 Mon Sep 17 00:00:00 2001 From: James Laird Date: Wed, 21 Jun 2006 18:42:19 -0500 Subject: [svn-r12432] Purpose: Bug fix Description: Since the new default Express level is 1, some fheap tests were being skipped. Solution: At least temporarily, fheap now skips these tests if it is run at express level 2 or greater. Platforms tested: mir --- test/fheap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/fheap.c b/test/fheap.c index 6cff879..9efa38e 100644 --- a/test/fheap.c +++ b/test/fheap.c @@ -13075,7 +13075,7 @@ main(void) h5_reset(); fapl = h5_fileaccess(); ExpressMode = GetTestExpress(); - if (ExpressMode) + if (ExpressMode > 1) printf("***Express test mode on. Some tests may be skipped\n"); /* Initialize heap's creation parameters */ @@ -13161,7 +13161,7 @@ curr_test = FHEAP_TEST_REOPEN; * level of complexity gradually. -QAK */ #ifndef QAK - if (ExpressMode) + if (ExpressMode > 1) printf("***Express test mode on. Some tests skipped\n"); else nerrors += test_abs_start_5th_recursive_indirect(fapl, &cparam, &tparam); @@ -13171,7 +13171,7 @@ HDfprintf(stderr, "Uncomment tests!\n"); #ifndef QAK /* Skip blocks insertion */ - if (ExpressMode) + if (ExpressMode > 1) printf("***Express test mode on. Some tests skipped\n"); else { nerrors += test_abs_skip_start_block(fapl, &cparam, &tparam); @@ -13217,7 +13217,7 @@ HDfprintf(stderr, "Uncomment tests!\n"); /* Random object insertion */ #ifndef QAK - if (ExpressMode) + if (ExpressMode > 1) printf("***Express test mode on. Some tests skipped\n"); else { nerrors += test_abs_random_managed((hsize_t)(100*1000*1000), fapl, &cparam, &tparam); -- cgit v0.12