diff --git a/gio/tests/fake-document-portal.c b/gio/tests/fake-document-portal.c index 0ef86b59a..585dee58b 100644 --- a/gio/tests/fake-document-portal.c +++ b/gio/tests/fake-document-portal.c @@ -125,6 +125,8 @@ main (gint argc, gchar *argv[]) GMainLoop *loop; guint id; + g_log_writer_default_set_use_stderr (TRUE); + loop = g_main_loop_new (NULL, FALSE); id = g_bus_own_name (G_BUS_TYPE_SESSION, diff --git a/gio/tests/fake-service-name.c b/gio/tests/fake-service-name.c index 6e317a7cc..0acabd9ec 100644 --- a/gio/tests/fake-service-name.c +++ b/gio/tests/fake-service-name.c @@ -98,6 +98,8 @@ main (gint argc, gchar *argv[]) { guint id; + g_log_writer_default_set_use_stderr (TRUE); + loop = g_main_loop_new (NULL, FALSE); introspection_data = g_dbus_node_info_new_for_xml (introspection_xml, NULL); g_assert (introspection_data != NULL); diff --git a/gio/tests/gapplication.c b/gio/tests/gapplication.c index 4320352d1..a11f2b8bc 100644 --- a/gio/tests/gapplication.c +++ b/gio/tests/gapplication.c @@ -1686,6 +1686,8 @@ main (int argc, char **argv) { g_setenv ("LC_ALL", "C", TRUE); + g_log_writer_default_set_use_stderr (TRUE); + g_test_init (&argc, &argv, NULL); if (!g_test_subprocess ()) diff --git a/gio/tests/gdbus-testserver.c b/gio/tests/gdbus-testserver.c index ae8e47b18..3a16db378 100644 --- a/gio/tests/gdbus-testserver.c +++ b/gio/tests/gdbus-testserver.c @@ -843,6 +843,8 @@ main (int argc, char *argv[]) { guint owner_id; + g_log_writer_default_set_use_stderr (TRUE); + introspection_data = g_dbus_node_info_new_for_xml (introspection_xml, NULL); properties = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, (GDestroyNotify)g_variant_unref); g_hash_table_insert (properties, g_strdup ("y"), g_variant_ref_sink (g_variant_new_byte (1)));