about summary refs log tree commit diff
path: root/support/test-driver.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-12-31 11:01:40 +0100
committerFlorian Weimer <fweimer@redhat.com>2016-12-31 18:51:15 +0100
commitf47ae5186624e5bb3a2d2b25be742b90a1eee3cd (patch)
treeb479133044166a9bd6dfd0f225376218c1c22222 /support/test-driver.c
parent039c5a05cc905e3d48392e7ea9f85e339b7c068b (diff)
downloadglibc-f47ae5186624e5bb3a2d2b25be742b90a1eee3cd.tar.gz
glibc-f47ae5186624e5bb3a2d2b25be742b90a1eee3cd.tar.xz
glibc-f47ae5186624e5bb3a2d2b25be742b90a1eee3cd.zip
support: Implement --verbose option for test programs
Some tests can produce rather verbose tracing information,
and the --verbose option provides a standardized way to enable
such logging output.
Diffstat (limited to 'support/test-driver.c')
-rw-r--r--support/test-driver.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/support/test-driver.c b/support/test-driver.c
index 3a61b7bf3f..a847c9647a 100644
--- a/support/test-driver.c
+++ b/support/test-driver.c
@@ -144,9 +144,7 @@ main (int argc, char **argv)
   struct option options[] =
     {
       CMDLINE_OPTIONS
-      { "direct", no_argument, NULL, OPT_DIRECT },
-      { "test-dir", required_argument, NULL, OPT_TESTDIR },
-      { NULL, 0, NULL, 0 }
+      TEST_DEFAULT_OPTIONS
     };
   test_config.options = &options;
 #endif