From 2c6993cfb6aab29a151e0276a66e6f7676fc5432 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Fri, 3 May 2024 14:28:03 +0200 Subject: [PATCH] tests/wayland: Run with G_MESSAGES_DEBUG=all Helpful when debugging tests. Part-of: (cherry picked from commit b69fc15543a2cb840c413872c8f3e390649baa6e) --- src/tests/meta-wayland-test-utils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tests/meta-wayland-test-utils.c b/src/tests/meta-wayland-test-utils.c index a90c05ce7..738575cd8 100644 --- a/src/tests/meta-wayland-test-utils.c +++ b/src/tests/meta-wayland-test-utils.c @@ -83,6 +83,9 @@ meta_wayland_test_client_new (MetaContext *context, g_subprocess_launcher_setenv (launcher, "WAYLAND_DISPLAY", wayland_display_name, TRUE); + g_subprocess_launcher_setenv (launcher, + "G_MESSAGES_DEBUG", "all", + TRUE); subprocess = g_subprocess_launcher_spawn (launcher, &error,