diff --git a/tests/color-representation-drm-test.c b/tests/color-representation-drm-test.c index bd5dcee9c..2fa523811 100644 --- a/tests/color-representation-drm-test.c +++ b/tests/color-representation-drm-test.c @@ -65,8 +65,10 @@ fixture_setup(struct weston_test_harness *harness, const struct setup_args *arg) } DECLARE_FIXTURE_SETUP_WITH_ARG(fixture_setup, my_setup_args, meta); -TEST_P(color_representation_drm, color_state_cases) { - const struct color_state *color_state = data; +static enum test_result_code +color_representation_drm(struct wet_testsuite_data *suite_data, + const struct color_state *color_state) +{ const struct setup_args *args = &my_setup_args[get_test_fixture_index()]; return test_color_representation(color_state, args->buffer_type, @@ -74,3 +76,7 @@ TEST_P(color_representation_drm, color_state_cases) { WESTON_CAPTURE_V1_SOURCE_WRITEBACK, FB_PRESENTED_ZERO_COPY); } + +DECLARE_TEST_LIST( + TESTFN_ARG(color_representation_drm, color_state_cases), +);