mirror of
https://gitlab.freedesktop.org/emersion/libdisplay-info.git
synced 2025-01-04 11:01:47 +01:00
9b86c06206
This is my HDR monitor. The EDID offers some fields that only HDR monitors have. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
25 lines
556 B
Meson
25 lines
556 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',
|
|
]
|
|
|
|
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
|