2020-03-11 16:59:47 +01:00
|
|
|
tests = [
|
2020-03-11 18:00:41 +01:00
|
|
|
'basics',
|
2020-03-11 16:59:47 +01:00
|
|
|
'full-font',
|
|
|
|
'cff-full-font',
|
|
|
|
'japanese',
|
2020-03-11 18:00:41 +01:00
|
|
|
'cff-japanese',
|
2020-03-11 16:59:47 +01:00
|
|
|
'layout',
|
|
|
|
'layout.gpos',
|
|
|
|
'layout.gpos2',
|
|
|
|
'layout.gpos3',
|
|
|
|
'layout.gpos4',
|
|
|
|
'layout.gpos6',
|
|
|
|
'layout.gsub3',
|
|
|
|
'layout.gsub6',
|
|
|
|
'layout.gdef',
|
|
|
|
'cmap',
|
|
|
|
'cmap14',
|
|
|
|
'sbix',
|
|
|
|
'colr',
|
|
|
|
'cbdt',
|
|
|
|
]
|
2018-05-17 01:28:53 +02:00
|
|
|
|
2018-12-01 22:15:33 +01:00
|
|
|
run_test = find_program('run-tests.py')
|
2018-05-17 01:28:53 +02:00
|
|
|
|
2018-12-01 22:15:33 +01:00
|
|
|
foreach t : tests
|
|
|
|
fname = '@0@.tests'.format(t)
|
|
|
|
|
|
|
|
test(t, run_test,
|
|
|
|
args: [
|
|
|
|
hb_subset,
|
|
|
|
join_paths(meson.current_source_dir(), 'data', 'tests', fname),
|
|
|
|
],
|
|
|
|
workdir: join_paths(meson.current_build_dir(), '..', '..'),
|
2020-03-11 18:00:41 +01:00
|
|
|
# as the test are ran concurrently and we have numerous ones here let's raise acceptable time
|
|
|
|
timeout: 120,
|
2018-12-01 22:15:33 +01:00
|
|
|
)
|
|
|
|
endforeach
|
2018-05-17 01:28:53 +02:00
|
|
|
|