mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-31 00:38:17 +02:00
tests/xwayland-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
610a7f9aa7
commit
dffdcb1757
1 changed files with 6 additions and 1 deletions
|
|
@ -113,7 +113,8 @@ get_wm_name(struct window_x11 *window)
|
|||
return wm_name;
|
||||
}
|
||||
|
||||
TEST(xwayland_client_test)
|
||||
static enum test_result_code
|
||||
xwayland_client_test(struct wet_testsuite_data *suite_data)
|
||||
{
|
||||
struct window_x11 *window;
|
||||
struct connection_x11 *conn;
|
||||
|
|
@ -181,3 +182,7 @@ TEST(xwayland_client_test)
|
|||
|
||||
return RESULT_OK;
|
||||
}
|
||||
|
||||
DECLARE_TEST_LIST(
|
||||
TESTFN(xwayland_client_test),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue