gl-renderer: skip test when fb-fetch missing

Rather than fail the tests that require fb-fetch GL ES feature and it's
missing, mark them as skipped instead. This helps people who run the
test suite manually.

In CI, a skip is marked as failure anyway.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
Pekka Paalanen 2026-04-09 14:21:54 +03:00
parent ccefe3ef45
commit a879fff2ec

View file

@ -68,6 +68,7 @@
#include "shared/weston-drm-fourcc.h"
#include "shared/weston-egl-ext.h"
#include "shared/xalloc.h"
#include "tests/harness/weston-testsuite-data.h"
#define BUFFER_DAMAGE_COUNT 2
@ -4854,7 +4855,7 @@ gl_renderer_output_create(struct weston_output *output,
weston_log("Error: quirks were used to force in-shader blending, "
"but it's not supported by the GLES implementation.\n"
"Quitting...\n");
weston_compositor_exit_with_code(gr->compositor, EXIT_FAILURE);
weston_compositor_exit_with_code(gr->compositor, RESULT_SKIP);
}
break;
}