tests: Make wayland-x11-interop depends on xwayland feature

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2938>
This commit is contained in:
Bilal Elmoussaoui 2023-03-28 15:12:27 +02:00 committed by Marge Bot
parent 99a58be104
commit 05dd401b64

View File

@ -458,20 +458,20 @@ if have_native_tests
wayland_test_utils,
],
},
{
'name': 'wayland-x11-interop',
'suite': 'wayland',
'sources': [
'wayland-x11-interop-tests.c',
wayland_test_client_utils,
wayland_test_utils,
wayland_protocol_files['mutter-x11-interop']['protocol-code'],
built_dbus_sources['meta-dbus-service-channel'],
],
},
]
if have_xwayland
test_cases += [
{
'name': 'wayland-x11-interop',
'suite': 'wayland',
'sources': [
'wayland-x11-interop-tests.c',
wayland_test_client_utils,
wayland_test_utils,
wayland_protocol_files['mutter-x11-interop']['protocol-code'],
built_dbus_sources['meta-dbus-service-channel'],
],
},
{
'name': 'xwayland',
'suite': 'wayland',