meson: tests: shaping: add aots tests
This commit is contained in:
parent
84725fb005
commit
f1e5f4a784
|
@ -57,6 +57,130 @@ in_house_tests = [
|
|||
['zero-width-marks.tests'],
|
||||
]
|
||||
|
||||
aots_tests = [
|
||||
['classdef1_empty.tests'],
|
||||
['classdef1_multiple.tests'],
|
||||
['classdef1_single.tests'],
|
||||
['classdef1.tests'],
|
||||
['classdef2_empty.tests'],
|
||||
['classdef2_multiple.tests'],
|
||||
['classdef2_single.tests'],
|
||||
['classdef2.tests'],
|
||||
['gpos_chaining1_boundary.tests'],
|
||||
['gpos_chaining1_lookupflag.tests'],
|
||||
['gpos_chaining1_multiple_subrules.tests'],
|
||||
['gpos_chaining1_next_glyph.tests'],
|
||||
['gpos_chaining1_simple.tests'],
|
||||
['gpos_chaining1_successive.tests'],
|
||||
['gpos_chaining2_boundary.tests'],
|
||||
['gpos_chaining2_lookupflag.tests'],
|
||||
['gpos_chaining2_multiple_subrules.tests'],
|
||||
['gpos_chaining2_next_glyph.tests'],
|
||||
['gpos_chaining2_simple.tests'],
|
||||
['gpos_chaining2_successive.tests'],
|
||||
['gpos_chaining3_boundary.tests'],
|
||||
['gpos_chaining3_lookupflag.tests'],
|
||||
['gpos_chaining3_next_glyph.tests'],
|
||||
['gpos_chaining3_simple.tests'],
|
||||
['gpos_chaining3_successive.tests'],
|
||||
['gpos_context1_boundary.tests'],
|
||||
['gpos_context1_expansion.tests'],
|
||||
['gpos_context1_lookupflag.tests'],
|
||||
['gpos_context1_multiple_subrules.tests'],
|
||||
['gpos_context1_next_glyph.tests'],
|
||||
['gpos_context1_simple.tests'],
|
||||
['gpos_context1_successive.tests'],
|
||||
['gpos_context2_boundary.tests'],
|
||||
['gpos_context2_classes.tests'],
|
||||
['gpos_context2_expansion.tests'],
|
||||
['gpos_context2_lookupflag.tests'],
|
||||
['gpos_context2_multiple_subrules.tests'],
|
||||
['gpos_context2_next_glyph.tests'],
|
||||
['gpos_context2_simple.tests'],
|
||||
['gpos_context2_successive.tests'],
|
||||
['gpos_context3_boundary.tests'],
|
||||
['gpos_context3_lookupflag.tests'],
|
||||
['gpos_context3_next_glyph.tests'],
|
||||
['gpos_context3_simple.tests'],
|
||||
['gpos_context3_successive.tests'],
|
||||
['gpos1_1_lookupflag.tests'],
|
||||
['gpos1_1_simple.tests'],
|
||||
['gpos1_2_lookupflag.tests'],
|
||||
['gpos1_2.tests'],
|
||||
['gpos2_1_lookupflag.tests'],
|
||||
['gpos2_1_next_glyph.tests'],
|
||||
['gpos2_1_simple.tests'],
|
||||
['gpos2_1.tests'],
|
||||
['gpos2_2.tests'],
|
||||
['gpos3_lookupflag.tests'],
|
||||
['gpos3.tests'],
|
||||
['gpos4_lookupflag.tests'],
|
||||
['gpos4_multiple_anchors.tests'],
|
||||
['gpos4_simple.tests'],
|
||||
['gpos5.tests'],
|
||||
['gpos6.tests'],
|
||||
['gpos7_1.tests'],
|
||||
['gpos9.tests'],
|
||||
['gsub_chaining1_boundary.tests'],
|
||||
['gsub_chaining1_lookupflag.tests'],
|
||||
['gsub_chaining1_multiple_subrules.tests'],
|
||||
['gsub_chaining1_next_glyph.tests'],
|
||||
['gsub_chaining1_simple.tests'],
|
||||
['gsub_chaining1_successive.tests'],
|
||||
['gsub_chaining2_boundary.tests'],
|
||||
['gsub_chaining2_lookupflag.tests'],
|
||||
['gsub_chaining2_multiple_subrules.tests'],
|
||||
['gsub_chaining2_next_glyph.tests'],
|
||||
['gsub_chaining2_simple.tests'],
|
||||
['gsub_chaining2_successive.tests'],
|
||||
['gsub_chaining3_boundary.tests'],
|
||||
['gsub_chaining3_lookupflag.tests'],
|
||||
['gsub_chaining3_next_glyph.tests'],
|
||||
['gsub_chaining3_simple.tests'],
|
||||
['gsub_chaining3_successive.tests'],
|
||||
['gsub_context1_boundary.tests'],
|
||||
['gsub_context1_expansion.tests'],
|
||||
['gsub_context1_lookupflag.tests'],
|
||||
['gsub_context1_multiple_subrules.tests'],
|
||||
['gsub_context1_next_glyph.tests'],
|
||||
['gsub_context1_simple.tests'],
|
||||
['gsub_context1_successive.tests'],
|
||||
['gsub_context2_boundary.tests'],
|
||||
['gsub_context2_classes.tests'],
|
||||
['gsub_context2_expansion.tests'],
|
||||
['gsub_context2_lookupflag.tests'],
|
||||
['gsub_context2_multiple_subrules.tests'],
|
||||
['gsub_context2_next_glyph.tests'],
|
||||
['gsub_context2_simple.tests'],
|
||||
['gsub_context2_successive.tests'],
|
||||
['gsub_context3_boundary.tests'],
|
||||
['gsub_context3_lookupflag.tests'],
|
||||
['gsub_context3_next_glyph.tests'],
|
||||
['gsub_context3_simple.tests'],
|
||||
['gsub_context3_successive.tests'],
|
||||
['gsub1_1_lookupflag.tests'],
|
||||
['gsub1_1_modulo.tests'],
|
||||
['gsub1_1_simple.tests'],
|
||||
['gsub1_2_lookupflag.tests'],
|
||||
['gsub1_2_simple.tests'],
|
||||
['gsub2_1_lookupflag.tests'],
|
||||
['gsub2_1_multiple_sequences.tests'],
|
||||
['gsub2_1_simple.tests'],
|
||||
['gsub3_1_lookupflag.tests'],
|
||||
['gsub3_1_multiple.tests'],
|
||||
['gsub3_1_simple.tests'],
|
||||
['gsub4_1_lookupflag.tests'],
|
||||
['gsub4_1_multiple_ligatures.tests'],
|
||||
['gsub4_1_multiple_ligsets.tests'],
|
||||
['gsub4_1_simple.tests'],
|
||||
['gsub7.tests'],
|
||||
['lookupflag_ignore_attach.tests'],
|
||||
['lookupflag_ignore_base.tests'],
|
||||
['lookupflag_ignore_combination.tests'],
|
||||
['lookupflag_ignore_ligatures.tests'],
|
||||
['lookupflag_ignore_marks.tests'],
|
||||
]
|
||||
|
||||
text_rendering_tests = [
|
||||
['AVAR-1.tests'],
|
||||
['CFF-1.tests'],
|
||||
|
@ -156,6 +280,21 @@ foreach test_data : in_house_tests
|
|||
)
|
||||
endforeach
|
||||
|
||||
foreach test_data : aots_tests
|
||||
fname = test_data[0]
|
||||
|
||||
test_name = fname.split('.')[0].underscorify()
|
||||
|
||||
test(test_name, python3,
|
||||
args: [
|
||||
files('run-tests.py')[0],
|
||||
hb_shape,
|
||||
join_paths(meson.current_source_dir(), 'data/aots/tests', fname),
|
||||
],
|
||||
workdir: join_paths(meson.current_build_dir(), '..', '..'),
|
||||
)
|
||||
endforeach
|
||||
|
||||
foreach test_data : text_rendering_tests
|
||||
fname = test_data[0]
|
||||
|
||||
|
|
Loading…
Reference in New Issue