mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-30 21:08:20 +02:00
tests/output-decorations-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
f6f4a780e6
commit
90d1a4887d
1 changed files with 6 additions and 1 deletions
|
|
@ -79,7 +79,8 @@ DECLARE_FIXTURE_SETUP_WITH_ARG(fixture_setup, my_setup_args, meta);
|
|||
* difficult to ensure text rendering is pixel-precise between different
|
||||
* systems.
|
||||
*/
|
||||
TEST(output_decorations)
|
||||
static enum test_result_code
|
||||
output_decorations(struct wet_testsuite_data *suite_data)
|
||||
{
|
||||
struct client *client;
|
||||
bool match;
|
||||
|
|
@ -94,3 +95,7 @@ TEST(output_decorations)
|
|||
|
||||
return RESULT_OK;
|
||||
}
|
||||
|
||||
DECLARE_TEST_LIST(
|
||||
TESTFN(output_decorations),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue