summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2006-11-26 15:38:55 +0000
committerSimon Josefsson <simon@josefsson.org>2006-11-26 15:38:55 +0000
commitb2eac3854c4012f337fad9b4e8f01f20c98cc5e0 (patch)
treeb89a6a59376cb4c83f9c71798e246895a626400c
parent967e3d884a9706da9ed16978ec0f89e2f822899d (diff)
downloadgnutls-b2eac3854c4012f337fad9b4e8f01f20c98cc5e0.tar.gz
Output more debug info.
-rw-r--r--tests/utils.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/utils.c b/tests/utils.c
index 0b606587fc..36424e0dae 100644
--- a/tests/utils.c
+++ b/tests/utils.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2004, 2005 Free Software Foundation
+ * Copyright (C) 2004, 2005, 2006 Free Software Foundation
*
* Author: Simon Josefsson
*
@@ -52,8 +52,7 @@ success (const char *format, ...)
va_list arg_ptr;
va_start (arg_ptr, format);
- if (debug)
- vfprintf (stdout, format, arg_ptr);
+ vfprintf (stdout, format, arg_ptr);
va_end (arg_ptr);
}
@@ -141,8 +140,7 @@ main (int argc, char *argv[])
doit ();
- if (debug)
- printf ("Self test `%s' finished with %d errors\n", argv[0], error_count);
+ printf ("Self test `%s' finished with %d errors\n", argv[0], error_count);
return error_count ? 1 : 0;
}