mirror of
https://gitlab.freedesktop.org/emersion/libdisplay-info.git
synced 2024-12-26 21:59:15 +01:00
b89910ef4e
It contains established timings III. Signed-off-by: Simon Ser <contact@emersion.fr>
33 lines
738 B
Meson
33 lines
738 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 = [
|
|
'acer-p1276',
|
|
'apple-xdr-dp',
|
|
'dell-2408wfp-dp',
|
|
'goldstar-ite6604-hdmi',
|
|
'hp-5dq99aa-hdmi',
|
|
'msi-mag321curv-dp',
|
|
'panasonic-mei96a2-dp',
|
|
'samsung-s27a950d-dp',
|
|
'sun-gh19ps-dvi',
|
|
'viewsonic-vp2768-dp',
|
|
]
|
|
|
|
foreach tc : test_cases
|
|
test(
|
|
tc,
|
|
test_harness,
|
|
args: [files('data/' + tc + '.edid')],
|
|
env: [
|
|
'REF_EDID_DECODE=' + ref_edid_decode.full_path(),
|
|
'DI_EDID_DECODE=' + di_edid_decode.full_path(),
|
|
],
|
|
depends: [di_edid_decode],
|
|
)
|
|
endforeach
|