diff --git a/compositor/main.c b/compositor/main.c index f673fa3a..7b8c196f 100644 --- a/compositor/main.c +++ b/compositor/main.c @@ -3382,7 +3382,7 @@ wet_main(int argc, char *argv[], const struct weston_testsuite_data *test_data) goto out; } - if (!check_compositor_capabilities(wet.compositor, + if (test_data && !check_compositor_capabilities(wet.compositor, test_data->test_quirks.required_capabilities)) { ret = WET_MAIN_RET_MISSING_CAPS; goto out;