diff options
author | Werner Koch <wk@gnupg.org> | 2016-01-06 08:49:45 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2016-01-06 08:49:45 +0100 |
commit | c7389ae90fa4a70766400cc241ff6a45aa750324 (patch) | |
tree | 7c0747979c0b55bff18d9026922326b98354b681 /g10/test.c | |
parent | gpg: Avoid using an uninitialized SALT on premature EOF. (diff) | |
download | gnupg2-c7389ae90fa4a70766400cc241ff6a45aa750324.tar.xz gnupg2-c7389ae90fa4a70766400cc241ff6a45aa750324.zip |
gpg: Silence some regression tests.
* g10/test.c (TEST): Print diagnostics only in verbose mode.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to '')
-rw-r--r-- | g10/test.c | 11 |
1 files 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); \ \ |