mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-30 23:28:17 +02:00
tests/viewporter-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
1ee9479b29
commit
a15c5ef3bb
1 changed files with 6 additions and 1 deletions
|
|
@ -69,7 +69,8 @@ fixture_setup(struct weston_test_harness *harness,
|
|||
DECLARE_FIXTURE_SETUP_WITH_ARG(fixture_setup, my_setup_args, meta);
|
||||
|
||||
|
||||
TEST(viewport_upscale_solid)
|
||||
static enum test_result_code
|
||||
viewport_upscale_solid(struct wet_testsuite_data *suite_data)
|
||||
{
|
||||
struct client *client;
|
||||
struct wp_viewport *viewport;
|
||||
|
|
@ -104,3 +105,7 @@ TEST(viewport_upscale_solid)
|
|||
|
||||
return RESULT_OK;
|
||||
}
|
||||
|
||||
DECLARE_TEST_LIST(
|
||||
TESTFN(viewport_upscale_solid),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue