tests: Run a localed mock implementation on tests

As per this we can just warn if its proxy initialization fails.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1233>
This commit is contained in:
Marco Trevisan (Treviño)
2021-08-26 15:07:47 +02:00
committed by Jonas Ådahl
parent b3c5ca12a5
commit a4223007e2
3 changed files with 55 additions and 2 deletions

View File

@ -396,8 +396,7 @@ init_keymap (MetaDefaultPlugin *self)
&error);
if (!proxy)
{
g_message ("Failed to acquire org.freedesktop.locale1 proxy: %s, "
"probably running in CI",
g_warning ("Failed to acquire org.freedesktop.locale1 proxy: %s",
error->message);
return;
}