tests: Override Wayland display name in test_init()

It's overridden by all test cases, but they all also call test_init() so
do it there instead.

https://gitlab.gnome.org/GNOME/mutter/issues/193
This commit is contained in:
Jonas Ådahl
2018-11-12 11:28:56 +01:00
parent e2cd9abf46
commit fe1d9fb4a7
4 changed files with 2 additions and 3 deletions

View File

@ -263,7 +263,6 @@ main (int argc, char *argv[])
meta_override_compositor_configuration (META_COMPOSITOR_TYPE_WAYLAND,
META_TYPE_BACKEND_TEST);
meta_wayland_override_display_name ("mutter-test-display");
meta_init ();
meta_register_with_session ();