mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-30 12:58:19 +02:00
tests/pointer-shot-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
b29e1232c3
commit
2c134cfc8e
1 changed files with 6 additions and 1 deletions
|
|
@ -103,7 +103,8 @@ surface_commit_color(struct client *client, struct surface *surface,
|
|||
return buf;
|
||||
}
|
||||
|
||||
TEST(pointer_cursor_retains_committed_buffer_after_reenter)
|
||||
static enum test_result_code
|
||||
pointer_cursor_retains_committed_buffer_after_reenter(struct wet_testsuite_data *suite_data)
|
||||
{
|
||||
struct client *client;
|
||||
pixman_color_t red;
|
||||
|
|
@ -182,3 +183,7 @@ TEST(pointer_cursor_retains_committed_buffer_after_reenter)
|
|||
|
||||
return RESULT_OK;
|
||||
}
|
||||
|
||||
DECLARE_TEST_LIST(
|
||||
TESTFN(pointer_cursor_retains_committed_buffer_after_reenter),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue