diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-01-22 20:57:34 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-01-22 20:57:34 (GMT) |
commit | 7f5fd94b565ca3a7f0bcdf0d11100c556048ff35 (patch) | |
tree | 550895f47fe521c80aa87e754e5da5ad30e67087 /test/ttbbt.c | |
parent | 618e7e7fbb5d7112ba38eb680d4b2a5b5c15adc1 (diff) | |
download | hdf5-7f5fd94b565ca3a7f0bcdf0d11100c556048ff35.zip hdf5-7f5fd94b565ca3a7f0bcdf0d11100c556048ff35.tar.gz hdf5-7f5fd94b565ca3a7f0bcdf0d11100c556048ff35.tar.bz2 |
[svn-r8084] Purpose:
Improvement.
Description:
Verbosity level were specified by numbers which are not meaningful
and prone to typos.
Solution:
Adapted the Verbosity predefined level symbols from HDF4
and changed all numberic verbosity to symbolic values.
(Still need to convert some left over macros like MESSAGE.)
Platforms tested:
Eirene.
No h5committest since this is trivial.
Misc. update:
Diffstat (limited to 'test/ttbbt.c')
-rw-r--r-- | test/ttbbt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ttbbt.c b/test/ttbbt.c index b8c00f2..fa34c84 100644 --- a/test/ttbbt.c +++ b/test/ttbbt.c @@ -98,7 +98,7 @@ test_tbbt(void) swap_arr(rem_arr, i, t); } /* end for */ - if (GetTestVerbosity() > 9) + if (GetTestVerbosity() >= VERBO_HI) { printf("ins_arr: \n"); for (i = 0; i < test_size; i++) /* print the arrays */ @@ -115,12 +115,12 @@ test_tbbt(void) MESSAGE(9, ("inserting %d\n", (int) ins_arr[i])); H5TB_dins(tree, (void *) &ins_arr[i], NULL); #ifdef H5TB_DEBUG - if(GetTestVerbosity()>9) + if(GetTestVerbosity() >= VERBO_HI) H5TB_dump(tree, -1); #endif /* H5TB_DEBUG */ } #ifdef H5TB_DEBUG - if(GetTestVerbosity()>9) + if(GetTestVerbosity() >= VERBO_HI) H5TB_dump(tree, -1); #endif /* H5TB_DEBUG */ for (i = 0; i < test_size; i++) @@ -132,7 +132,7 @@ test_tbbt(void) MESSAGE(9, ("removing %d\n", (int) key)); H5TB_rem((H5TB_NODE **) tree, (H5TB_NODE *) r, NULL); #ifdef H5TB_DEBUG - if(GetTestVerbosity()>9) + if(GetTestVerbosity() >= VERBO_HI) H5TB_dump(tree, -1); #endif /* H5TB_DEBUG */ } /* end for */ |