commit e762e3cdcca0014608a956f9f5db8f1775195181
parent 3a6cb5ed4780d5c71f9324b8a840344f7adf6567
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 13 Nov 2009 14:54:35 +0000
be less verbose
Diffstat:
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/testcurl/https/tls_extension_test.c b/src/testcurl/https/tls_extension_test.c
@@ -214,7 +214,6 @@ main (int argc, char *const *argv)
-1
};
- MHD__gnutls_global_init ();
MHD_gtls_global_set_log_level (11);
if ((test_fd = setup_test_file ()) == NULL)
@@ -246,7 +245,7 @@ main (int argc, char *const *argv)
setup_session (&session, &key, &cert, &xcred);
errorCount += test_hello_extension (session, ext_arr[i], 1, 16);
teardown_session (session, &key, &cert, xcred);
-#if 0
+#if 1
i = 0;
while (ext_arr[i] != -1)
{
@@ -269,7 +268,6 @@ main (int argc, char *const *argv)
print_test_result (errorCount, argv[0]);
MHD_stop_daemon (d);
- MHD__gnutls_global_deinit ();
curl_global_cleanup ();
fclose (test_fd);
diff --git a/src/testcurl/https/tls_test_common.c b/src/testcurl/https/tls_test_common.c
@@ -35,10 +35,12 @@ int curl_check_version (const char *req_version, ...);
void
print_test_result (int test_outcome, char *test_name)
{
+#if 0
if (test_outcome != 0)
fprintf (stderr, "running test: %s [fail]\n", test_name);
else
fprintf (stdout, "running test: %s [pass]\n", test_name);
+#endif
}
size_t
@@ -402,10 +404,11 @@ test_wrap (char *test_name, int
va_end (arg_list);
return -1;
}
-
+#if 0
fprintf (stdout, "running test: %s ", test_name);
+#endif
ret = test_function (test_fd, cipher_suite, proto_version);
-
+#if 0
if (ret == 0)
{
fprintf (stdout, "[pass]\n");
@@ -414,7 +417,7 @@ test_wrap (char *test_name, int
{
fprintf (stdout, "[fail]\n");
}
-
+#endif
teardown_testcase (d);
va_end (arg_list);
return ret;