diff --git a/gio/gdbusconnection.c b/gio/gdbusconnection.c index 3411033f3..dbfc53953 100644 --- a/gio/gdbusconnection.c +++ b/gio/gdbusconnection.c @@ -5726,17 +5726,19 @@ g_dbus_connection_call_done (GObject *source, _g_dbus_debug_print_lock (); g_print ("========================================================================\n" "GDBus-debug:Call:\n" - " <<<< ASYNC COMPLETE %s() (serial %d)\n" - " ", - state->method_name, - g_dbus_message_get_reply_serial (reply)); + " <<<< ASYNC COMPLETE %s()", + state->method_name); + if (reply != NULL) { - g_print ("SUCCESS\n"); + g_print (" (serial %d)\n" + " SUCCESS\n", + g_dbus_message_get_reply_serial (reply)); } else { - g_print ("FAILED: %s\n", + g_print ("\n" + " FAILED: %s\n", error->message); } _g_dbus_debug_print_unlock (); diff --git a/gio/tests/gdbus-connection-flush.c b/gio/tests/gdbus-connection-flush.c index 39f08e8aa..73a034b81 100644 --- a/gio/tests/gdbus-connection-flush.c +++ b/gio/tests/gdbus-connection-flush.c @@ -368,6 +368,9 @@ main (int argc, { gint ret; + /* FIXME: Add debug for https://gitlab.gnome.org/GNOME/glib/issues/1929 */ + g_setenv ("G_DBUS_DEBUG", "authentication", TRUE); + g_test_init (&argc, &argv, NULL); g_test_add ("/gdbus/connection/flush/busy", Fixture, NULL, diff --git a/gio/tests/gdbus-connection.c b/gio/tests/gdbus-connection.c index 6e4c7eb05..469018577 100644 --- a/gio/tests/gdbus-connection.c +++ b/gio/tests/gdbus-connection.c @@ -1256,6 +1256,10 @@ main (int argc, char *argv[]) { int ret; + + /* FIXME: Add debug for https://gitlab.gnome.org/GNOME/glib/issues/1957 */ + g_setenv ("G_DBUS_DEBUG", "all", TRUE); + g_test_init (&argc, &argv, NULL); /* all the tests rely on a shared main loop */ diff --git a/gio/tests/gdbus-server-auth.c b/gio/tests/gdbus-server-auth.c index d7312eab1..d8b361fc6 100644 --- a/gio/tests/gdbus-server-auth.c +++ b/gio/tests/gdbus-server-auth.c @@ -515,6 +515,9 @@ int main (int argc, char *argv[]) { + /* FIXME: Add debug for https://gitlab.gnome.org/GNOME/glib/issues/1954 */ + g_setenv ("G_DBUS_DEBUG", "all", TRUE); + g_test_init (&argc, &argv, NULL); g_test_add_func ("/gdbus/server-auth", test_server_auth);