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:
Pekka Paalanen 2026-05-26 14:52:59 +00:00
parent f6f4a780e6
commit 90d1a4887d

View file

@ -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),
);