harfbuzz/test/subset/meson.build

99 lines
2.0 KiB
Meson
Raw Normal View History

2020-03-11 16:59:47 +01:00
tests = [
'basics',
2020-03-11 16:59:47 +01:00
'full-font',
'cff-full-font',
'japanese',
'cff-japanese',
'cff.notoserifmyanmar',
'glyf_bug_3131',
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',
'layout.gpos8',
'layout.gpos8.amiri',
'layout.gpos9',
2020-04-20 22:43:13 +02:00
'layout.gsub3',
'layout.gsub5',
'layout.gsub5_format2',
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',
'layout.gdef.glyphset',
'layout.khmer',
'layout.context',
'layout.context_format2',
'layout.gdef-varstore',
'layout.gdef-attachlist',
'layout.notonastaliqurdu',
'layout.tinos',
'layout.duplicate_features',
'layout.unsorted_featurelist',
'layout.drop_feature',
'cmap',
2020-03-11 16:59:47 +01:00
'cmap14',
'sbix',
'colr',
'colr_glyphs',
2021-09-20 23:42:51 +02:00
'math',
'math_coverage_offset',
# TODO: re-enable once colrv1 subsetting is stabilized.
# 'colrv1.notoemoji',
'colrv1',
'colr_with_components',
2020-03-11 16:59:47 +01:00
'cbdt',
'variable',
'glyph_names',
'post',
'32bit_var_store',
'pin_all_at_default',
'instantiate_glyf',
'full_instance',
'instance_feature_variations',
2020-03-11 16:59:47 +01:00
]
repack_tests = [
'basic',
'prioritization',
'table_duplication',
'isolation',
'advanced_prioritization',
'space_splitting',
]
run_test = find_program('run-tests.py')
foreach t : tests
fname = '@0@.tests'.format(t)
test(t, run_test,
args: [
hb_subset,
meson.current_source_dir() / 'data' / 'tests' / fname,
],
# as the tests are ran concurrently let's raise acceptable time here
# ideally better to break and let meson handles them in parallel
timeout: 500,
workdir: meson.current_build_dir() / '..' / '..',
suite: 'subset',
)
endforeach
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,
meson.current_source_dir() / 'data' / 'repack_tests' / fname,
],
workdir: meson.current_build_dir() / '..' / '..',
suite: ['subset', 'repack'],
)
endforeach