summaryrefslogtreecommitdiff
path: root/gio/tests/gdbus-peer.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-12-02 20:09:08 +0100
committerBenjamin Otte <otte@redhat.com>2010-12-02 20:11:28 +0100
commitb9a98a81dad104058a11a4b788a64b21b235c62d (patch)
tree443e339e073aa686861d8090a4af5274b45904df /gio/tests/gdbus-peer.c
parentb92e2cd8f8d88a62f14c49e8255802512c156152 (diff)
downloadglib-b9a98a81dad104058a11a4b788a64b21b235c62d.tar.gz
glib-b9a98a81dad104058a11a4b788a64b21b235c62d.tar.bz2
glib-b9a98a81dad104058a11a4b788a64b21b235c62d.zip
gio: Comment out a whole test
... instead of just commenting out the registration and leaving "unused function" warnings for gcc.
Diffstat (limited to 'gio/tests/gdbus-peer.c')
-rw-r--r--gio/tests/gdbus-peer.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gio/tests/gdbus-peer.c b/gio/tests/gdbus-peer.c
index 60013d883..e3046181e 100644
--- a/gio/tests/gdbus-peer.c
+++ b/gio/tests/gdbus-peer.c
@@ -1083,6 +1083,7 @@ delayed_message_processing (void)
/* ---------------------------------------------------------------------------------------------------- */
+#ifdef BUG_631379_FIXED
static gboolean
nonce_tcp_on_authorize_authenticated_peer (GDBusAuthObserver *observer,
GIOStream *stream,
@@ -1284,6 +1285,7 @@ test_nonce_tcp (void)
g_main_loop_quit (service_loop);
g_thread_join (service_thread);
}
+#endif
static void
test_credentials (void)
@@ -1458,8 +1460,9 @@ main (int argc,
g_test_add_func ("/gdbus/peer-to-peer", test_peer);
g_test_add_func ("/gdbus/delayed-message-processing", delayed_message_processing);
- /* XXX bgo#631379
- * g_test_add_func ("/gdbus/nonce-tcp", test_nonce_tcp); */
+#ifdef BUG_631379_FIXED
+ g_test_add_func ("/gdbus/nonce-tcp", test_nonce_tcp);
+#endif
g_test_add_func ("/gdbus/credentials", test_credentials);
g_test_add_func ("/gdbus/overflow", test_overflow);