From b5b6e4da3efd68d86cb68b2add55392ef38d8270 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Tue, 26 May 2026 14:48:21 +0000 Subject: [PATCH] tests/alpha-blending-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 Signed-off-by: Pekka Paalanen --- tests/alpha-blending-test.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/alpha-blending-test.c b/tests/alpha-blending-test.c index 8d7b29e6c..3739a68a5 100644 --- a/tests/alpha-blending-test.c +++ b/tests/alpha-blending-test.c @@ -302,7 +302,8 @@ check_blend_pattern(struct buffer *bg, struct buffer *fg, struct buffer *shot, * using their default color spaces * - blending through gl-renderer shadow framebuffer */ -TEST(alpha_blend) +static enum test_result_code +alpha_blend(struct wet_testsuite_data *suite_data) { const int width = BLOCK_WIDTH * ALPHA_STEPS; const int height = BLOCK_WIDTH; @@ -378,3 +379,7 @@ TEST(alpha_blend) return RESULT_OK; } + +DECLARE_TEST_LIST( + TESTFN(alpha_blend), +);