1
0
Fork 0

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: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2095>
This commit is contained in:
Jonas Ådahl 2021-11-17 12:09:38 +01:00 committed by Marge Bot
parent c07c50d189
commit d459df9a28

View file

@ -935,6 +935,8 @@ main(int argc, char **argv)
GtkCssProvider *provider; GtkCssProvider *provider;
GError *error = NULL; GError *error = NULL;
g_log_writer_default_set_use_stderr (TRUE);
g_option_context_add_main_entries (context, options, NULL); g_option_context_add_main_entries (context, options, NULL);
if (!g_option_context_parse (context, if (!g_option_context_parse (context,