From c7389ae90fa4a70766400cc241ff6a45aa750324 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 6 Jan 2016 08:49:45 +0100 Subject: [PATCH] gpg: Silence some regression tests. * g10/test.c (TEST): Print diagnostics only in verbose mode. Signed-off-by: Werner Koch --- g10/test.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/g10/test.c b/g10/test.c index 59a015ca6..39d594594 100644 --- a/g10/test.c +++ b/g10/test.c @@ -63,11 +63,12 @@ static int verbose; int expected_result; \ \ tests ++; \ - \ - printf ("%d. Checking %s...", \ - tests, (description) ?: ""); \ - fflush (stdout); \ - \ + if (verbose) \ + { \ + printf ("%d. Checking %s...", \ + tests, (description) ?: ""); \ + fflush (stdout); \ + } \ test_result = (test); \ expected_result = (expected); \ \