[glib-networking/mcatanzaro/base-rebase] Properly disable broken tests, without triggering -Werror
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking/mcatanzaro/base-rebase] Properly disable broken tests, without triggering -Werror
- Date: Mon, 13 May 2019 15:43:59 +0000 (UTC)
commit 817490803a06234e03127ea2e2b1c517480dddf7
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Mon May 13 09:42:09 2019 -0500
Properly disable broken tests, without triggering -Werror
tls/tests/connection.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/tls/tests/connection.c b/tls/tests/connection.c
index 48a4d36..9e54a84 100644
--- a/tls/tests/connection.c
+++ b/tls/tests/connection.c
@@ -1370,6 +1370,7 @@ test_failed_connection (TestConnection *test,
#endif
}
+#if 0
static void
socket_client_connected (GObject *source,
GAsyncResult *result,
@@ -1386,6 +1387,7 @@ socket_client_connected (GObject *source,
g_main_loop_quit (test->loop);
}
+#endif
static void
test_connection_socket_client (TestConnection *test,
@@ -1465,6 +1467,7 @@ test_connection_socket_client_failed (TestConnection *test,
g_object_unref (client);
}
+#if 0
static void
socket_client_timed_out_write (GObject *source,
GAsyncResult *result,
@@ -1507,20 +1510,21 @@ socket_client_timed_out_write (GObject *source,
g_main_loop_quit (test->loop);
}
+#endif
static void
test_connection_read_time_out_write (TestConnection *test,
gconstpointer data)
{
+#if 0
+ // FIXME: This test is broken.
+
GSocketClient *client;
GTlsCertificateFlags flags;
GSocketConnection *connection;
GIOStream *base;
GError *error = NULL;
-#if 0
- // FIXME: This test is broken.
-
/* Don't close the server connection after writing TEST_DATA. */
start_async_server_service (test, G_TLS_AUTHENTICATION_NONE, FALSE);
client = g_socket_client_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]