testsuite: Add a test setup for slicing

Add a 'wayland_smalltexture' test setup that forces
the max texture size to be 1024, which lets us test
the texture slicing codepaths.
This commit is contained in:
Matthias Clasen 2023-03-19 10:08:01 -04:00
parent 80730a4014
commit ace2122d45

View File

@ -15,10 +15,15 @@ exclude_unstable = ['flaky', 'failing']
setups = [
{ 'backend': 'x11', 'if': x11_enabled, },
{ 'backend': 'wayland', 'if': wayland_enabled, 'is_default': true, },
{ 'name': 'waylandgles', 'backend': 'wayland', 'if': wayland_enabled,
{ 'name': 'waylandgles',
'backend': 'wayland', 'if': wayland_enabled,
'env': ['GDK_DEBUG=gl-gles,default-settings'], },
{ 'backend': 'win32', 'if': os_win32 },
{ 'backend': 'broadway', 'if': broadway_enabled, },
{ 'name': 'wayland_smalltexture',
'backend': 'wayland', 'if': wayland_enabled,
'env': ['GSK_MAX_TEXTURE_SIZE=1024'], },
{ 'backend': 'win32', 'if': os_win32 },
]
foreach setup : setups