aboutsummaryrefslogtreecommitdiff
path: root/support/test-driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'support/test-driver.h')
-rw-r--r--support/test-driver.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/support/test-driver.h b/support/test-driver.h
index 7787e9c..f3f5c17 100644
--- a/support/test-driver.h
+++ b/support/test-driver.h
@@ -55,12 +55,18 @@ enum
/* Options provided by the test driver. */
#define TEST_DEFAULT_OPTIONS \
+ { "verbose", no_argument, NULL, 'v' }, \
{ "direct", no_argument, NULL, OPT_DIRECT }, \
{ "test-dir", required_argument, NULL, OPT_TESTDIR }, \
/* The directory the test should use for temporary files. */
extern const char *test_dir;
+/* The number of --verbose arguments specified during program
+ invocation. This variable can be used to control the verbosity of
+ tests. */
+extern unsigned int test_verbose;
+
int support_test_main (int argc, char **argv, const struct test_config *);
__END_DECLS