From 5d18ad7fabff65b632d5672bb9ac6e5eea428812 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Tue, 26 May 2026 14:52:59 +0000 Subject: [PATCH] tests/ivi-layout-internal-test: migrate to DECLARE_TEST_LIST API Replace PLUGIN_TEST() macros with explicit static functions and DECLARE_TEST_LIST() registration for better type safety and to prepare for removing the custom ELF section. Co-authored-by: Claude Sonnet 4.6 Signed-off-by: Pekka Paalanen --- tests/ivi-layout-internal-test.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/ivi-layout-internal-test.c b/tests/ivi-layout-internal-test.c index 89b44bf9c..425e82f88 100644 --- a/tests/ivi-layout-internal-test.c +++ b/tests/ivi-layout-internal-test.c @@ -773,7 +773,9 @@ run_internal_tests(struct test_context *ctx) test_layer_remove_notification(ctx); } -PLUGIN_TEST(ivi_layout_internal) +static enum test_result_code +ivi_layout_internal(struct wet_testsuite_data *suite_data, + struct weston_compositor *compositor) { /* struct weston_compositor *compositor; */ struct test_context ctx = {}; @@ -794,3 +796,7 @@ PLUGIN_TEST(ivi_layout_internal) return RESULT_OK; } + +DECLARE_TEST_LIST( + TESTFN_PLUGIN(ivi_layout_internal), +);