From 9ffb3e5ece94347a45fe4ad08131a2bf5adda23d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 14 Sep 2021 16:10:39 -0400 Subject: [PATCH] testsuite: Call g_test_init in test binaries Without it, we mess out on G_DEBUG=fatal-warnings, so our ci does not alert us that we run a bunch of tests which spit out warnings. --- testsuite/gsk/compare-render.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testsuite/gsk/compare-render.c b/testsuite/gsk/compare-render.c index 5494c61d1e..a62252ab35 100644 --- a/testsuite/gsk/compare-render.c +++ b/testsuite/gsk/compare-render.c @@ -162,6 +162,8 @@ main (int argc, char **argv) GError *error = NULL; GOptionContext *context; + (g_test_init) (&argc, &argv, NULL); + context = g_option_context_new ("NODE REF - run GSK node tests"); g_option_context_add_main_entries (context, options, NULL); g_option_context_set_ignore_unknown_options (context, TRUE); -- 2.30.2