[glib/wip/hadess/add-dbus-tests-debug] tests: Enable GDBus debug for a number of unreliable tests
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/hadess/add-dbus-tests-debug] tests: Enable GDBus debug for a number of unreliable tests
- Date: Mon, 9 Dec 2019 14:14:38 +0000 (UTC)
commit ec3d1773aa68b702c0a53939b38d844b01a1f27c
Author: Bastien Nocera <hadess hadess net>
Date: Mon Dec 9 15:12:56 2019 +0100
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.
gio/tests/gdbus-connection-flush.c | 3 +++
gio/tests/gdbus-connection.c | 4 ++++
gio/tests/gdbus-server-auth.c | 3 +++
3 files changed, 10 insertions(+)
---
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]