mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-30 22:18:15 +02:00
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:
parent
7b33e1fd11
commit
02f042b5c3
1 changed files with 7 additions and 1 deletions
|
|
@ -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),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue