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',
|
2020-10-10 01:46:46 +02:00
|
|
|
'layout.gpos5',
|
2020-04-20 22:43:13 +02:00
|
|
|
'layout.gpos6',
|
2020-06-04 07:48:35 +02:00
|
|
|
'layout.gpos8',
|
2020-09-28 22:24:25 +02:00
|
|
|
'layout.gpos8.amiri',
|
2020-10-06 22:02:12 +02:00
|
|
|
'layout.gpos9',
|
2020-04-20 22:43:13 +02:00
|
|
|
'layout.gsub3',
|
2021-01-12 19:17:14 +01:00
|
|
|
'layout.gsub5',
|
2020-04-20 22:43:13 +02:00
|
|
|
'layout.gsub6',
|
2021-03-19 01:41:25 +01:00
|
|
|
'layout.gsub8',
|
2020-04-20 22:43:13 +02:00
|
|
|
'layout.gdef',
|
2021-04-01 23:32:38 +02:00
|
|
|
'layout.khmer',
|
2020-06-04 07:48:35 +02:00
|
|
|
'layout.context',
|
|
|
|
'layout.gdef-varstore',
|
|
|
|
'layout.gdef-attachlist',
|
2020-11-04 20:11:16 +01:00
|
|
|
'layout.notonastaliqurdu',
|
2020-04-23 00:58:41 +02:00
|
|
|
'cmap',
|
2020-03-11 16:59:47 +01:00
|
|
|
'cmap14',
|
|
|
|
'sbix',
|
|
|
|
'colr',
|
2021-06-19 03:12:19 +02:00
|
|
|
'colrv1.notoemoji',
|
2021-05-05 01:48:41 +02:00
|
|
|
'colr_with_components',
|
2020-03-11 16:59:47 +01:00
|
|
|
'cbdt',
|
2021-03-25 20:17:18 +01:00
|
|
|
'variable',
|
2020-03-11 16:59:47 +01:00
|
|
|
]
|
2018-05-17 01:28:53 +02:00
|
|
|
|
2020-11-10 20:56:09 +01:00
|
|
|
repack_tests = [
|
|
|
|
'basic',
|
|
|
|
'prioritization',
|
|
|
|
'table_duplication',
|
|
|
|
]
|
|
|
|
|
|
|
|
|
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
|
2020-11-10 20:56:09 +01:00
|
|
|
|
|
|
|
run_repack_test = find_program('run-repack-tests.py')
|
|
|
|
|
|
|
|
foreach t : repack_tests
|
|
|
|
fname = '@0@.tests'.format(t)
|
|
|
|
|
|
|
|
test(t, run_repack_test,
|
|
|
|
args: [
|
|
|
|
hb_subset,
|
|
|
|
join_paths(meson.current_source_dir(), 'data', 'repack_tests', fname),
|
|
|
|
],
|
|
|
|
workdir: join_paths(meson.current_build_dir(), '..', '..'),
|
|
|
|
suite: ['subset', 'repack'],
|
|
|
|
)
|
|
|
|
endforeach
|