2022-03-28 11:17:07 +02:00
|
|
|
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 = [
|
2022-08-31 12:13:52 +02:00
|
|
|
'apple-xdr-dp',
|
2022-03-28 11:17:07 +02:00
|
|
|
'dell-2408wfp-dp',
|
2022-05-20 11:44:04 +02:00
|
|
|
'hp-5dq99aa-hdmi',
|
2022-09-06 11:25:56 +02:00
|
|
|
'jdi-lpm135m467-edp',
|
2022-06-06 17:39:06 +02:00
|
|
|
'panasonic-mei96a2-dp',
|
2022-06-17 11:15:51 +02:00
|
|
|
'samsung-s27a950d-dp',
|
2022-06-22 09:03:55 +02:00
|
|
|
'sun-gh19ps-dvi',
|
2022-03-28 11:17:07 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
foreach tc : test_cases
|
|
|
|
test(
|
|
|
|
tc,
|
|
|
|
test_harness,
|
2022-08-29 14:16:36 +02:00
|
|
|
args: [files('data/' + tc + '.edid')],
|
2022-03-28 11:17:07 +02:00
|
|
|
env: [
|
|
|
|
'REF_EDID_DECODE=' + ref_edid_decode.full_path(),
|
|
|
|
'DI_EDID_DECODE=' + di_edid_decode.full_path(),
|
|
|
|
],
|
|
|
|
depends: [di_edid_decode],
|
|
|
|
)
|
|
|
|
endforeach
|