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-04-20 22:43:13 +02:00
|
|
|
'layout',
|
|
|
|
'layout.gpos',
|
|
|
|
'layout.gpos2',
|
|
|
|
'layout.gpos3',
|
|
|
|
'layout.gpos4',
|
|
|
|
'layout.gpos6',
|
2020-06-04 07:48:35 +02:00
|
|
|
'layout.gpos8',
|
2020-04-20 22:43:13 +02:00
|
|
|
'layout.gsub3',
|
|
|
|
'layout.gsub6',
|
|
|
|
'layout.gdef',
|
2020-06-04 07:48:35 +02:00
|
|
|
'layout.context',
|
|
|
|
'layout.gdef-varstore',
|
|
|
|
'layout.gdef-attachlist',
|
2020-04-23 00:58:41 +02:00
|
|
|
'cmap',
|
2020-03-11 16:59:47 +01:00
|
|
|
'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,
|
2020-08-12 21:43:06 +02:00
|
|
|
join_paths(meson.current_source_dir(), 'data', 'tests', fname),
|
2018-12-01 22:15:33 +01:00
|
|
|
],
|
2020-03-24 16:09:42 +01:00
|
|
|
# as the tests are ran concurrently let's raise acceptable time here
|
|
|
|
# ideally better to break and let meson handles them in parallel
|
2020-05-21 11:53:36 +02:00
|
|
|
timeout: 500,
|
2020-08-12 21:43:06 +02:00
|
|
|
workdir: join_paths(meson.current_build_dir(), '..', '..'),
|
2020-06-21 00:04:59 +02:00
|
|
|
suite: ['subset', 'slow'],
|
2018-12-01 22:15:33 +01:00
|
|
|
)
|
|
|
|
endforeach
|