[glib] gio: Comment out a whole test
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gio: Comment out a whole test
- Date: Thu, 2 Dec 2010 19:12:03 +0000 (UTC)
commit b9a98a81dad104058a11a4b788a64b21b235c62d
Author: Benjamin Otte <otte redhat com>
Date: Thu Dec 2 20:09:08 2010 +0100
gio: Comment out a whole test
... instead of just commenting out the registration and leaving "unused
function" warnings for gcc.
gio/tests/gdbus-peer.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gio/tests/gdbus-peer.c b/gio/tests/gdbus-peer.c
index 60013d8..e304618 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]