From 8aae368bd1fb38e83ae2dc1de9c46e9d99252f21 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Fri, 23 Sep 2011 12:15:38 +0200 Subject: Redeuce self-test noise. --- tests/utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') 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; } -- cgit v1.2.1