summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2006-06-21 23:42:19 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2006-06-21 23:42:19 (GMT)
commit52ee6d3f1f8503c1afd1f836f7649bcd2a6570b0 (patch)
treec1e78b7f0f19383b1a2f070e6f5a68107a2a304a /test
parent64b5d95251ccf3f783eff886ad4e825f0a5d9fae (diff)
downloadhdf5-52ee6d3f1f8503c1afd1f836f7649bcd2a6570b0.zip
hdf5-52ee6d3f1f8503c1afd1f836f7649bcd2a6570b0.tar.gz
hdf5-52ee6d3f1f8503c1afd1f836f7649bcd2a6570b0.tar.bz2
[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
Diffstat (limited to 'test')
-rw-r--r--test/fheap.c8
1 files 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);