diff options
author | Michael Catanzaro <mcatanzaro@igalia.com> | 2019-05-13 09:42:09 -0500 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@posteo.net> | 2019-05-15 14:02:30 +0000 |
commit | 8ed5adacd26ee89b5ce9d2c74dda1c57cc5c2697 (patch) | |
tree | 057bdf42a27325e130e89766f08386d0f35ff62a | |
parent | 9de0cc7cb9841fde60da7c7a50e137a331de1c52 (diff) | |
download | glib-networking-8ed5adacd26ee89b5ce9d2c74dda1c57cc5c2697.tar.gz |
Properly disable broken tests, without triggering -Werror
-rw-r--r-- | tls/tests/connection.c | 10 |
1 files 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 (); |