mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-06-02 03:58:23 +02:00
tests/output-transforms-test: migrate to DECLARE_TEST_LIST API
Replace TEST_P() 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
90d1a4887d
commit
65b7469da8
1 changed files with 7 additions and 2 deletions
|
|
@ -116,9 +116,10 @@ static const struct buffer_args my_buffer_args[] = {
|
|||
{ 2, TRANSFORM(90) },
|
||||
};
|
||||
|
||||
TEST_P(output_transform, my_buffer_args)
|
||||
static enum test_result_code
|
||||
output_transform(struct wet_testsuite_data *suite_data,
|
||||
const struct buffer_args *bargs)
|
||||
{
|
||||
const struct buffer_args *bargs = data;
|
||||
const struct setup_args *oargs;
|
||||
struct client *client;
|
||||
bool match;
|
||||
|
|
@ -160,3 +161,7 @@ TEST_P(output_transform, my_buffer_args)
|
|||
|
||||
return RESULT_OK;
|
||||
}
|
||||
|
||||
DECLARE_TEST_LIST(
|
||||
TESTFN_ARG(output_transform, my_buffer_args),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue