mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-30 11:48:25 +02:00
tests/internal-screenshot-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
403532b4af
commit
abfb03bd73
1 changed files with 6 additions and 1 deletions
|
|
@ -74,7 +74,8 @@ draw_stuff(pixman_image_t *image)
|
|||
}
|
||||
}
|
||||
|
||||
TEST(internal_screenshot)
|
||||
static enum test_result_code
|
||||
internal_screenshot(struct wet_testsuite_data *suite_data)
|
||||
{
|
||||
struct buffer *buf;
|
||||
struct client *client;
|
||||
|
|
@ -182,3 +183,7 @@ TEST(internal_screenshot)
|
|||
|
||||
return RESULT_OK;
|
||||
}
|
||||
|
||||
DECLARE_TEST_LIST(
|
||||
TESTFN(internal_screenshot),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue