tests: Enable GDBus debug for a number of unreliable tests

As those tests keep failing in the CI, enable GDBus debugging to catch
some debug leads when the problems happen.
This commit is contained in:
Bastien Nocera 2019-12-09 15:12:56 +01:00
parent 5ed4e18bdf
commit 8fd71dccc5
3 changed files with 10 additions and 0 deletions

View File

@ -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,

View File

@ -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 */

View File

@ -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);