From d459df9a2865f3736d47571d323efc9d73615262 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Wed, 17 Nov 2021 12:09:38 +0100 Subject: [PATCH] tests/test-client: Log to stderr The test-client reports command results to stdout, so make sure to log e.g. debug messages to stderr, so they don't interfere with the result test-runner reads. Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/450 Part-of: --- src/tests/test-client.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tests/test-client.c b/src/tests/test-client.c index ac2431a50..0007d61ea 100644 --- a/src/tests/test-client.c +++ b/src/tests/test-client.c @@ -935,6 +935,8 @@ main(int argc, char **argv) GtkCssProvider *provider; GError *error = NULL; + g_log_writer_default_set_use_stderr (TRUE); + g_option_context_add_main_entries (context, options, NULL); if (!g_option_context_parse (context,