mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 22:10:08 +00:00
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.
This commit is contained in:
parent
2e63b53b1e
commit
ffab67ac70
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user