From 14ca04609af4ef486e5c4e86821a7360cf21f928 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Tue, 28 Mar 2023 12:45:13 +0300 Subject: [PATCH] tests/xwayland: Enable xwayland XWM debug log scope and more debug We're still timing out with our basic xwayland test in CI, so this enables the XWM logging scope, and enables some further print debugs we have available in our helper library, in an attempt to further investigate and determine why we're still timing out. Signed-off-by: Marius Vlad --- tests/xcb-client-helper.c | 2 +- tests/xwayland-test.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/xcb-client-helper.c b/tests/xcb-client-helper.c index a2845c5f..f8f649e3 100644 --- a/tests/xcb-client-helper.c +++ b/tests/xcb-client-helper.c @@ -45,7 +45,7 @@ #include #include "xcb-client-helper.h" -//#define DEBUG +#define DEBUG #ifdef DEBUG #define printfd(fmt, args...) do { \ diff --git a/tests/xwayland-test.c b/tests/xwayland-test.c index 9fb30512..b8514af6 100644 --- a/tests/xwayland-test.c +++ b/tests/xwayland-test.c @@ -56,7 +56,7 @@ fixture_setup(struct weston_test_harness *harness) compositor_setup_defaults(&setup); setup.shell = SHELL_TEST_DESKTOP; setup.xwayland = true; - /* setup.logging_scopes = "xwm-wm-x11"; */ + setup.logging_scopes = "xwm-wm-x11"; return weston_test_harness_execute_as_client(harness, &setup); }