diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-01-22 23:05:55 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-01-22 23:05:55 (GMT) |
commit | cc171677031c2bff1ae60a45f510492733fe76d7 (patch) | |
tree | 2902e69f01953272ef62b79084019f9aa99e9ea6 /test/h5test.h | |
parent | 3300140c70bb445b05827ffd2b3e3b1098dfb00e (diff) | |
download | hdf5-cc171677031c2bff1ae60a45f510492733fe76d7.zip hdf5-cc171677031c2bff1ae60a45f510492733fe76d7.tar.gz hdf5-cc171677031c2bff1ae60a45f510492733fe76d7.tar.bz2 |
[svn-r8094] Purpose:
New feature.
Description:
Added function SetTestVerbosity() so that other applications can
set the verbosity explicitedly without the whole testframe taking
over.
Added Verbose queries shorthands to make code more readable and
easier to change the levels of low, medium and high.
Platforms tested:
Eirene (both serial and parallel).
Misc. update:
Diffstat (limited to 'test/h5test.h')
-rw-r--r-- | test/h5test.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/h5test.h b/test/h5test.h index 9045930..2f039f3 100644 --- a/test/h5test.h +++ b/test/h5test.h @@ -58,6 +58,16 @@ #define VERBO_HI 9 /* High */ /* + * Verbose queries + * Only None needs an exact match. The rest are at least as much. + */ +#define VERBOSE_NONE (GetTestVerbosity()==VERBO_NONE) +#define VERBOSE_DEF (GetTestVerbosity()>=VERBO_DEF) +#define VERBOSE_LO (GetTestVerbosity()>=VERBO_LO) +#define VERBOSE_MED (GetTestVerbosity()>=VERBO_MED) +#define VERBOSE_HI (GetTestVerbosity()>=VERBO_HI) + +/* * This contains the filename prefix specificied as command line option for * the parallel test files. */ |