[tests] Add tests for platform shapers
Fixes https://github.com/harfbuzz/harfbuzz/issues/3115
This commit is contained in:
parent
7608b19167
commit
6c81cd9543
|
@ -1,4 +1,4 @@
|
|||
in_house_tests = [
|
||||
in_house_tests_base = [
|
||||
'aat-morx.tests',
|
||||
'aat-trak.tests',
|
||||
'arabic-fallback-shaping.tests',
|
||||
|
@ -67,3 +67,15 @@ in_house_tests = [
|
|||
'vertical.tests',
|
||||
'zero-width-marks.tests',
|
||||
]
|
||||
|
||||
in_house_tests_coretext = [
|
||||
'coretext.tests',
|
||||
]
|
||||
|
||||
in_house_tests_uniscribe = [
|
||||
'uniscribe.tests',
|
||||
]
|
||||
|
||||
in_house_tests_directwrite = [
|
||||
'directwrite.tests',
|
||||
]
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
../fonts/872d2955d326bd6676a06f66b8238ebbaabc212f.ttf;--shaper=coretext;U+0628,U+0628,U+0628;[uni0628.fina=2+883|uni0628.medi_High=1+244|uni0628.init_High=0+233]
|
|
@ -0,0 +1 @@
|
|||
../fonts/872d2955d326bd6676a06f66b8238ebbaabc212f.ttf;--shaper=directwrite;U+0628,U+0628,U+0628;[uni0628.fina=2+883|uni0628.medi_High=1+244|uni0628.init_High=0+233]
|
|
@ -0,0 +1 @@
|
|||
../fonts/872d2955d326bd6676a06f66b8238ebbaabc212f.ttf;--shaper=uniscribe;U+0628,U+0628,U+0628;[uni0628.fina=2+883|uni0628.medi_High=1+244|uni0628.init_High=0+233]
|
|
@ -8,6 +8,17 @@ shaping_run_tests_py = find_program('run-tests.py')
|
|||
env = environment()
|
||||
env.set('HAVE_FREETYPE', '@0@'.format(conf.get('HAVE_FREETYPE', 0)))
|
||||
|
||||
in_house_tests = in_house_tests_base
|
||||
if conf.get('HAVE_CORETEXT', 0) == 1
|
||||
in_house_tests += in_house_tests_coretext
|
||||
endif
|
||||
if conf.get('HAVE_UNISCRIBE', 0) == 1
|
||||
in_house_tests += in_house_tests_uniscribe
|
||||
endif
|
||||
if conf.get('HAVE_DIRECTWRITE', 0) == 1
|
||||
in_house_tests += in_house_tests_directwrite
|
||||
endif
|
||||
|
||||
foreach file_name : in_house_tests
|
||||
test_name = file_name.split('.')[0]
|
||||
|
||||
|
|
Loading…
Reference in New Issue