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-17 19:41:40 +02:00
|
|
|
#'layout',
|
|
|
|
#'layout.gpos',
|
|
|
|
#'layout.gpos2',
|
|
|
|
#'layout.gpos3',
|
|
|
|
#'layout.gpos4',
|
|
|
|
#'layout.gpos6',
|
|
|
|
#'layout.gsub3',
|
|
|
|
#'layout.gsub6',
|
|
|
|
#'layout.gdef',
|
2020-03-11 16:59:47 +01:00
|
|
|
'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),
|
|
|
|
],
|
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-03-11 18:00:41 +01:00
|
|
|
timeout: 120,
|
2020-03-24 16:09:42 +01:00
|
|
|
workdir: join_paths(meson.current_build_dir(), '..', '..'),
|
2018-12-01 22:15:33 +01:00
|
|
|
)
|
|
|
|
endforeach
|
2018-05-17 01:28:53 +02:00
|
|
|
|