mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-30 14:08:21 +02:00
tests/lcms-util-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
192a396fe6
commit
0d4f42e3fa
1 changed files with 7 additions and 2 deletions
|
|
@ -59,9 +59,10 @@ static const enum transfer_fn build_MPE_curves_test_set[] = {
|
|||
TRANSFER_FN_POWER2_4_EOTF_INVERSE,
|
||||
};
|
||||
|
||||
TEST_P(build_MPE_curves, build_MPE_curves_test_set)
|
||||
static enum test_result_code
|
||||
build_MPE_curves(struct wet_testsuite_data *suite_data,
|
||||
const enum transfer_fn *fn)
|
||||
{
|
||||
const enum transfer_fn *fn = data;
|
||||
const cmsContext ctx = 0;
|
||||
cmsToneCurve *curve;
|
||||
cmsStage *stage;
|
||||
|
|
@ -86,3 +87,7 @@ TEST_P(build_MPE_curves, build_MPE_curves_test_set)
|
|||
|
||||
return RESULT_OK;
|
||||
}
|
||||
|
||||
DECLARE_TEST_LIST(
|
||||
TESTFN_ARG(build_MPE_curves, build_MPE_curves_test_set),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue