tests/wayland: Order test clients and add missing dependencies

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3394>
This commit is contained in:
Sebastian Wick 2023-11-13 14:22:21 +01:00 committed by Marge Bot
parent 97c1d19017
commit e1812dbf86
2 changed files with 46 additions and 40 deletions

View File

@ -567,10 +567,16 @@ if have_native_tests
'depends': [
test_client,
test_client_executables.get('buffer-transform'),
test_client_executables.get('dma-buf-scanout'),
test_client_executables.get('fractional-scale'),
test_client_executables.get('fullscreen'),
test_client_executables.get('idle-inhibit'),
test_client_executables.get('invalid-subsurfaces'),
test_client_executables.get('invalid-xdg-shell-actions'),
test_client_executables.get('kms-cursor-hotplug-helper'),
test_client_executables.get('service-client'),
test_client_executables.get('single-pixel-buffer'),
test_client_executables.get('subsurface-corner-cases'),
test_client_executables.get('subsurface-parent-unmapped'),
test_client_executables.get('subsurface-remap-toplevel'),
test_client_executables.get('subsurface-reparenting'),

View File

@ -18,61 +18,34 @@ wayland_test_clients = [
{
'name': 'buffer-transform',
},
{
'name': 'dma-buf-scanout',
'extra_deps': [
libdrm_dep,
libgbm_dep,
],
},
{
'name': 'fractional-scale',
},
{
'name': 'single-pixel-buffer',
},
{
'name': 'subsurface-corner-cases',
},
{
'name': 'subsurface-remap-toplevel',
},
{
'name': 'subsurface-reparenting',
},
{
'name': 'subsurface-parent-unmapped',
},
{
'name': 'invalid-subsurfaces',
},
{
'name': 'invalid-xdg-shell-actions',
},
{
'name': 'xdg-apply-limits',
},
{
'name': 'xdg-activation',
},
{
'name': 'xdg-foreign',
},
{
'name': 'xdg-toplevel-bounds',
},
{
'name': 'fullscreen',
},
{
'name': 'idle-inhibit',
},
{
'name': 'invalid-subsurfaces',
},
{
'name': 'invalid-xdg-shell-actions',
},
{
'name': 'kms-cursor-hotplug-helper',
'extra_deps': [
wayland_cursor_dep,
],
},
{
'name': 'dma-buf-scanout',
'extra_deps': [
libdrm_dep,
libgbm_dep,
],
},
{
'name': 'service-client',
'extra_sources': [
@ -82,6 +55,33 @@ wayland_test_clients = [
gio_unix_dep,
],
},
{
'name': 'single-pixel-buffer',
},
{
'name': 'subsurface-corner-cases',
},
{
'name': 'subsurface-parent-unmapped',
},
{
'name': 'subsurface-remap-toplevel',
},
{
'name': 'subsurface-reparenting',
},
{
'name': 'xdg-activation',
},
{
'name': 'xdg-apply-limits',
},
{
'name': 'xdg-foreign',
},
{
'name': 'xdg-toplevel-bounds',
},
]
test_client_executables = {}