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/h5test.h | |
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/h5test.h')
-rw-r--r-- | test/h5test.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/h5test.h b/test/h5test.h index 8a53f0f..9045930 100644 --- a/test/h5test.h +++ b/test/h5test.h @@ -31,6 +31,33 @@ #endif /* + * Predefined test verbosity levels. + * + * Convention: + * + * The higher the verbosity value, the more information printed. + * So, output for higher verbosity also include output of all lower + * verbosity. + * + * Value Description + * 0 None: No informational message. + * 1 "All tests passed" + * 2 Header of overall test + * 3 Default: header and results of individual test + * 4 + * 5 Low: Major category of tests. + * 6 + * 7 Medium: Minor category of tests such as functions called. + * 8 + * 9 High: Highest level. All information. + */ +#define VERBO_NONE 0 /* None */ +#define VERBO_DEF 3 /* Default */ +#define VERBO_LO 5 /* Low */ +#define VERBO_MED 7 /* Medium */ +#define VERBO_HI 9 /* High */ + +/* * This contains the filename prefix specificied as command line option for * the parallel test files. */ |