ci/freedreno: Add wayland testing using weston.

Take the old EGL job and make it a suite, stop segregating the reset tests
now that we assign reset blame appropriately, and add a variant using
headless weston.  This catches two failures we weren't covering before.

Acked-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19912>
This commit is contained in:
Emma Anholt 2022-11-17 14:53:33 -08:00 committed by Marge Bot
parent bdf66c44f0
commit 76831b6344
3 changed files with 30 additions and 0 deletions

View file

@ -8,3 +8,14 @@ deqp_args = [
"--deqp-surface-type=pbuffer", "--deqp-visibility=hidden",
"--deqp-gl-config-name=rgba8888d24s8ms0",
]
[[deqp]]
deqp = "/deqp/modules/egl/deqp-egl-wayland"
caselists = ["/deqp/mustpass/egl-master.txt"]
skips = ["install/freedreno-a630-premerge-skips.txt"]
deqp_args = [
"--deqp-surface-width=256", "--deqp-surface-height=256",
"--deqp-surface-type=pbuffer", "--deqp-visibility=hidden",
"--deqp-gl-config-name=rgba8888d24s8ms0",
]
prefix = "wayland-"

View file

@ -460,3 +460,20 @@ gmem-dEQP-VK.pipeline.fast_linked_library.color_write_enable_maxa.cwe_after_bind
# https://gitlab.freedesktop.org/mesa/mesa/-/issues/7152
spec@ext_transform_feedback@builtin-varyings gl_culldistance,Fail
# EGL_BAD_DISPLAY is generated if display is not an EGL display connection
# eglCreatePixmapSurface(0, 0x0000000000000000, 0x0000000000000000, { EGL_NONE });
# // 0x0000000000000000 returned
# eglCreatePixmapSurface(0xffffffffffffffff, 0x0000000000000000, 0x0000000000000000, { EGL_NONE });
# // 0x0000000000000000 returned
# EGL_BAD_CONFIG or EGL_BAD_PARAMETER is generated if config is not an EGL frame buffer configuration or if the PixmapSurface call is not supported
# eglCreatePixmapSurface(0xaaab01f31100, 0xffffffffffffffff, 0x0000000000000000, { EGL_NONE });
# // 0x0000000000000000 returned
# // ERROR expected: EGL_BAD_CONFIG or EGL_BAD_PARAMETER, Got: EGL_BAD_NATIVE_PIXMAP
wayland-dEQP-EGL.functional.negative_api.create_pixmap_surface,Fail
# Excerpt:
# Image comparison failed: reference = -0.000488281, expected = 0:0:0:0, result = 0:0:0:3
# Image comparison failed: reference = 0, expected = 0:0:0:0, result = 0:0:0:3
# Image comparison failed: reference = 0.000488281, expected = 0:1:0:0, result = 0:1:0:3
# Image comparison failed: reference = 0.000976562, expected = 1:1:0:0, result = 1:1:0:3
wayland-dEQP-EGL.functional.wide_color.pbuffer_888_colorspace_default,Fail

View file

@ -197,6 +197,7 @@ a630_gl:
DEQP_SUITE: freedreno-a630
# Run dEQP EGL window system tests separately with the window systems available.
# X11 takes over the screen, wayland is run headless.
a630_egl:
extends:
- .baremetal-deqp-test
@ -204,6 +205,7 @@ a630_egl:
variables:
DEQP_VER: egl
HWCI_START_XORG: 1
HWCI_START_WESTON: 1
DEQP_SUITE: freedreno-a630-egl
a630_gles_asan: