Merge wayland_smalltexture and wayland_gles

We don't really need to have two full separate
test runs for these conditions, so combine them
into one test setup.
This commit is contained in:
Matthias Clasen 2023-05-04 14:56:51 -04:00
parent 81db6e9e61
commit f81aa14d93
3 changed files with 4 additions and 8 deletions

View File

@ -59,7 +59,6 @@ style-check-diff:
- "${CI_PROJECT_DIR}/_build/report-x11.xml"
- "${CI_PROJECT_DIR}/_build/report-wayland.xml"
- "${CI_PROJECT_DIR}/_build/report-wayland_gles.xml"
- "${CI_PROJECT_DIR}/_build/report-wayland_smalltexture.xml"
- "${CI_PROJECT_DIR}/_build/report-broadway.xml"
name: "gtk-${CI_COMMIT_REF_NAME}"
paths:
@ -103,7 +102,6 @@ fedora-x86_64:
- .gitlab-ci/run-tests.sh _build x11
- .gitlab-ci/run-tests.sh _build wayland
- .gitlab-ci/run-tests.sh _build wayland_gles
- .gitlab-ci/run-tests.sh _build wayland_smalltexture
- .gitlab-ci/run-tests.sh _build broadway
release-build:

View File

@ -135,7 +135,7 @@ foreach renderer : renderers
endif
if compare_xfails_small_texture.contains(testname)
suites += 'wayland_smalltexture_failing'
suites += 'wayland_gles_failing'
endif
if ((exclude_term == '' or not testname.contains(exclude_term)) and

View File

@ -20,12 +20,10 @@ setups = [
'env': ['GDK_DEBUG=gl-gles,default-settings',
'MESA_GLES_VERSION_OVERRIDE=2.0',
'MESA_EXTENSION_OVERRIDE=-GL_OES_vertex_array_object',
'GSK_MAX_TEXTURE_SIZE=1024',
], },
{ '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 },
]
@ -39,8 +37,8 @@ foreach setup : setups
exclude += 'gsk-compare-broadway'
endif
if name == 'wayland_smalltexture'
exclude += 'wayland_smalltexture_failing'
if name == 'wayland_gles'
exclude += 'wayland_gles_failing'
endif
env = common_env + [