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 <noreply@anthropic.com>
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
Pekka Paalanen 2026-05-26 14:52:59 +00:00
parent cc821a2b11
commit 5d18ad7fab

View file

@ -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),
);