mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-31 01:48:17 +02:00
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:
parent
cc821a2b11
commit
5d18ad7fab
1 changed files with 7 additions and 1 deletions
|
|
@ -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),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue