Hash :
47a0fbec
Author :
Date :
2020-06-21T02:34:59
[meson] Mark longer tests with slow So one can skip them easily by `meson test -Cbuild --no-suite slow`
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
tests = [
'basics',
'full-font',
'cff-full-font',
'japanese',
'cff-japanese',
'layout',
'layout.gpos',
'layout.gpos2',
'layout.gpos3',
'layout.gpos4',
'layout.gpos6',
'layout.gpos8',
'layout.gsub3',
'layout.gsub6',
'layout.gdef',
'layout.context',
'layout.gdef-varstore',
'layout.gdef-attachlist',
'cmap',
'cmap14',
'sbix',
'colr',
'cbdt',
]
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', 'slow'],
)
endforeach