mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-06 12:38:03 +02:00
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:
parent
ccefe3ef45
commit
a879fff2ec
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue