[Pkg-gnupg-commit] [gnupg2] 87/159: gpg: Silence some regression tests.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Wed Jan 27 13:23:57 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gnupg2.
commit c7389ae90fa4a70766400cc241ff6a45aa750324
Author: Werner Koch <wk at gnupg.org>
Date: Wed Jan 6 08:49:45 2016 +0100
gpg: Silence some regression tests.
* g10/test.c (TEST): Print diagnostics only in verbose mode.
Signed-off-by: Werner Koch <wk at gnupg.org>
---
g10/test.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/g10/test.c b/g10/test.c
index 59a015c..39d5945 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); \
\
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git
More information about the Pkg-gnupg-commit
mailing list