mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
Merge branch 'wip/hadess/add-dbus-tests-debug' into 'master'
tests: Enable GDBus debug for a number of unreliable tests See merge request GNOME/glib!1271
This commit is contained in:
commit
2f6010eabf
@ -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 ();
|
||||
|
@ -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,
|
||||
|
@ -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 */
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user