From ace2122d453d6eca4ba30126475e1c3e8720709d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 19 Mar 2023 10:08:01 -0400 Subject: [PATCH] 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. --- testsuite/meson.build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/testsuite/meson.build b/testsuite/meson.build index 688a253978..f39f66322f 100644 --- a/testsuite/meson.build +++ b/testsuite/meson.build @@ -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 -- 2.30.2