diff --git a/test/shape/data/in-house/meson.build b/test/shape/data/in-house/meson.build index 70b1a1cc9..121635ede 100644 --- a/test/shape/data/in-house/meson.build +++ b/test/shape/data/in-house/meson.build @@ -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', +] diff --git a/test/shape/data/in-house/tests/coretext.tests b/test/shape/data/in-house/tests/coretext.tests new file mode 100644 index 000000000..4cecf4779 --- /dev/null +++ b/test/shape/data/in-house/tests/coretext.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] diff --git a/test/shape/data/in-house/tests/directwrite.tests b/test/shape/data/in-house/tests/directwrite.tests new file mode 100644 index 000000000..334f234f6 --- /dev/null +++ b/test/shape/data/in-house/tests/directwrite.tests @@ -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] diff --git a/test/shape/data/in-house/tests/uniscribe.tests b/test/shape/data/in-house/tests/uniscribe.tests new file mode 100644 index 000000000..9b563dbe5 --- /dev/null +++ b/test/shape/data/in-house/tests/uniscribe.tests @@ -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] diff --git a/test/shape/meson.build b/test/shape/meson.build index 48f5500eb..2409eec99 100644 --- a/test/shape/meson.build +++ b/test/shape/meson.build @@ -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]