mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 13:22:15 +00:00
context/test: Let g_test_init() consume argc/argv first
This allows passing e.g. -p /path/to/test to test executables. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1993>
This commit is contained in:
parent
d111c47c88
commit
ed677f49ff
@ -72,10 +72,11 @@ meta_context_test_configure (MetaContext *context,
|
||||
META_CONTEXT_CLASS (meta_context_test_parent_class);
|
||||
const char *plugin_name;
|
||||
|
||||
g_test_init (argc, argv, NULL);
|
||||
|
||||
if (!context_class->configure (context, argc, argv, error))
|
||||
return FALSE;
|
||||
|
||||
g_test_init (argc, argv, NULL);
|
||||
g_test_bug_base ("https://gitlab.gnome.org/GNOME/mutter/issues/");
|
||||
|
||||
if (priv->flags & META_CONTEXT_TEST_FLAG_TEST_CLIENT)
|
||||
|
Loading…
Reference in New Issue
Block a user