tests/safe-signal-output-removal-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 7b33e1fd11
commit 02f042b5c3

View file

@ -123,9 +123,15 @@ create_outputs(struct weston_compositor *compositor)
output_create(output);
}
PLUGIN_TEST(real_usecase_one)
static enum test_result_code
real_usecase_one(struct wet_testsuite_data *suite_data,
struct weston_compositor *compositor)
{
create_outputs(compositor);
return RESULT_OK;
}
DECLARE_TEST_LIST(
TESTFN_PLUGIN(real_usecase_one),
);