libdisplay-info/test/meson.build
Simon Ser 3d0f36c528 test/data: add samsung-s27a950d-dp
This EDID contains DTDs with the stereo flag set, and audio blocks
in the CTA extension.

Signed-off-by: Simon Ser <contact@emersion.fr>
2022-06-17 11:17:48 +02:00

27 lines
605 B
Meson

ref_edid_decode = find_program('edid-decode', native: true, required: false)
if not ref_edid_decode.found()
test('edid-decode-not-found', find_program('false'))
subdir_done()
endif
test_harness = find_program('./edid-decode-check.sh', native: true)
test_cases = [
'dell-2408wfp-dp',
'hp-5dq99aa-hdmi',
'panasonic-mei96a2-dp',
'samsung-s27a950d-dp',
]
foreach tc : test_cases
test(
tc,
test_harness,
args: [files('data/' + tc)],
env: [
'REF_EDID_DECODE=' + ref_edid_decode.full_path(),
'DI_EDID_DECODE=' + di_edid_decode.full_path(),
],
depends: [di_edid_decode],
)
endforeach