From: Simon Josefsson Date: Fri, 23 Sep 2011 10:15:38 +0000 (+0200) Subject: Redeuce self-test noise. X-Git-Tag: gnutls_3_0_4~72 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8aae368bd1fb38e83ae2dc1de9c46e9d99252f21;p=thirdparty%2Fgnutls.git Redeuce self-test noise. --- diff --git a/tests/utils.c b/tests/utils.c index f4b8c4ad09..fd543fe697 100644 --- a/tests/utils.c +++ b/tests/utils.c @@ -1,6 +1,5 @@ /* - * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Free Software - * Foundation, Inc. + * Copyright (C) 2004-2011 Free Software Foundation, Inc. * * Author: Simon Josefsson * @@ -152,7 +151,8 @@ main (int argc, char *argv[]) doit (); - printf ("Self test `%s' finished with %d errors\n", argv[0], error_count); + if (debug || error_count > 0) + printf ("Self test `%s' finished with %d errors\n", argv[0], error_count); return error_count ? 1 : 0; }