mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-30 17:38:17 +02:00
tests/safe-signal-test: migrate to DECLARE_TEST_LIST API
Replace 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
02f042b5c3
commit
22b1a7003d
1 changed files with 6 additions and 1 deletions
|
|
@ -76,7 +76,8 @@ add_destroy_listener(struct test_surface_state *st)
|
|||
&st->surface_destroy_listener);
|
||||
}
|
||||
|
||||
TEST(real_usecase_standalone)
|
||||
static enum test_result_code
|
||||
real_usecase_standalone(struct wet_testsuite_data *suite_data)
|
||||
{
|
||||
struct test_surface_state *st, *st_new;
|
||||
|
||||
|
|
@ -91,3 +92,7 @@ TEST(real_usecase_standalone)
|
|||
|
||||
return RESULT_OK;
|
||||
}
|
||||
|
||||
DECLARE_TEST_LIST(
|
||||
TESTFN(real_usecase_standalone),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue