diff --git a/test/shaping/data/aots/Makefile.sources b/test/shaping/data/aots/Makefile.sources index 8340bb6cf..93396824a 100644 --- a/test/shaping/data/aots/Makefile.sources +++ b/test/shaping/data/aots/Makefile.sources @@ -1,21 +1,12 @@ TESTS = \ + tests/classdef1_empty.tests \ + tests/classdef1_multiple.tests \ tests/classdef1_single.tests \ tests/classdef1.tests \ tests/classdef2_empty.tests \ + tests/classdef2_multiple.tests \ tests/classdef2_single.tests \ tests/classdef2.tests \ - tests/gpos1_1_lookupflag.tests \ - tests/gpos1_1_simple.tests \ - tests/gpos1_2_lookupflag.tests \ - tests/gpos1_2.tests \ - tests/gpos2_1_lookupflag.tests \ - tests/gpos2_1_next_glyph.tests \ - tests/gpos2_1_simple.tests \ - tests/gpos2_1.tests \ - tests/gpos2_2.tests \ - tests/gpos4_lookupflag.tests \ - tests/gpos7_1.tests \ - tests/gpos9.tests \ tests/gpos_chaining1_boundary.tests \ tests/gpos_chaining1_lookupflag.tests \ tests/gpos_chaining1_multiple_subrules.tests \ @@ -53,21 +44,24 @@ TESTS = \ tests/gpos_context3_next_glyph.tests \ tests/gpos_context3_simple.tests \ tests/gpos_context3_successive.tests \ - tests/gsub1_1_lookupflag.tests \ - tests/gsub1_1_modulo.tests \ - tests/gsub1_1_simple.tests \ - tests/gsub1_2_lookupflag.tests \ - tests/gsub1_2_simple.tests \ - tests/gsub2_1_lookupflag.tests \ - tests/gsub2_1_multiple_sequences.tests \ - tests/gsub2_1_simple.tests \ - tests/gsub3_1_lookupflag.tests \ - tests/gsub3_1_multiple.tests \ - tests/gsub4_1_lookupflag.tests \ - tests/gsub4_1_multiple_ligatures.tests \ - tests/gsub4_1_multiple_ligsets.tests \ - tests/gsub4_1_simple.tests \ - tests/gsub7.tests \ + tests/gpos1_1_lookupflag.tests \ + tests/gpos1_1_simple.tests \ + tests/gpos1_2_lookupflag.tests \ + tests/gpos1_2.tests \ + tests/gpos2_1_lookupflag.tests \ + tests/gpos2_1_next_glyph.tests \ + tests/gpos2_1_simple.tests \ + tests/gpos2_1.tests \ + tests/gpos2_2.tests \ + tests/gpos3_lookupflag.tests \ + tests/gpos3.tests \ + tests/gpos4_lookupflag.tests \ + tests/gpos4_multiple_anchors.tests \ + tests/gpos4_simple.tests \ + tests/gpos5.tests \ + tests/gpos6.tests \ + tests/gpos7_1.tests \ + tests/gpos9.tests \ tests/gsub_chaining1_boundary.tests \ tests/gsub_chaining1_lookupflag.tests \ tests/gsub_chaining1_multiple_subrules.tests \ @@ -105,6 +99,23 @@ TESTS = \ tests/gsub_context3_next_glyph.tests \ tests/gsub_context3_simple.tests \ tests/gsub_context3_successive.tests \ + tests/gsub1_1_lookupflag.tests \ + tests/gsub1_1_modulo.tests \ + tests/gsub1_1_simple.tests \ + tests/gsub1_2_lookupflag.tests \ + tests/gsub1_2_simple.tests \ + tests/gsub2_1_lookupflag.tests \ + tests/gsub2_1_multiple_sequences.tests \ + tests/gsub2_1_simple.tests \ + tests/gsub3_1_lookupflag.tests \ + tests/gsub3_1_multiple.tests \ + tests/gsub3_1_simple.tests \ + tests/gsub4_1_lookupflag.tests \ + tests/gsub4_1_multiple_ligatures.tests \ + tests/gsub4_1_multiple_ligsets.tests \ + tests/gsub4_1_simple.tests \ + tests/gsub7.tests \ + tests/lookupflag_ignore_attach.tests \ tests/lookupflag_ignore_base.tests \ tests/lookupflag_ignore_combination.tests \ tests/lookupflag_ignore_ligatures.tests \ @@ -112,15 +123,4 @@ TESTS = \ $(NULL) DISABLED_TESTS = \ - tests/classdef1_empty.tests \ - tests/classdef1_multiple.tests \ - tests/classdef2_multiple.tests \ - tests/gpos3_lookupflag.tests \ - tests/gpos3.tests \ - tests/gpos4_multiple_anchors.tests \ - tests/gpos4_simple.tests \ - tests/gpos5.tests \ - tests/gpos6.tests \ - tests/gsub3_1_simple.tests \ - tests/lookupflag_ignore_attach.tests \ $(NULL) diff --git a/test/shaping/data/aots/hb-aots-tester.cpp b/test/shaping/data/aots/hb-aots-tester.cpp index 81e30076e..bd46dec36 100644 --- a/test/shaping/data/aots/hb-aots-tester.cpp +++ b/test/shaping/data/aots/hb-aots-tester.cpp @@ -153,6 +153,7 @@ bool gsub_test(const char *testName, char test_name[255]; sprintf (test_name, "../../tests/%.*s.tests", (int) (strrchr (testName, '_') - testName), testName); FILE *tests_file = fopen (test_name, "a+"); + if (!ok) fprintf (tests_file, "#"); fprintf (tests_file, "../fonts/%s:--features=\"", fontfileName + 9); for (unsigned int i = 0; i < gNbFeatures; i++) { diff --git a/test/shaping/data/aots/tests/classdef1_empty.tests b/test/shaping/data/aots/tests/classdef1_empty.tests index 71d87f1c3..76aaecc43 100644 --- a/test/shaping/data/aots/tests/classdef1_empty.tests +++ b/test/shaping/data/aots/tests/classdef1_empty.tests @@ -1 +1 @@ -../fonts/classdef1_font2.otf:--features="test" --no-clusters --no-glyph-names --no-positions:U+0011,U+0012,U+0013,U+0014,U+0015:[17|23|24|25|21] +#../fonts/classdef1_font2.otf:--features="test" --no-clusters --no-glyph-names --no-positions:U+0011,U+0012,U+0013,U+0014,U+0015:[17|23|24|25|21] diff --git a/test/shaping/data/aots/tests/gsub3_1_simple.tests b/test/shaping/data/aots/tests/gsub3_1_simple.tests index 5e65ba055..b8a28d15a 100644 --- a/test/shaping/data/aots/tests/gsub3_1_simple.tests +++ b/test/shaping/data/aots/tests/gsub3_1_simple.tests @@ -1 +1 @@ -../fonts/gsub3_1_simple_f1.otf:--features="-test[1],test[3],test[5]=2,test[7]=3,-test[9],test[11]" --no-clusters --no-glyph-names --no-positions:U+0011,U+0012,U+0011,U+0012,U+0011,U+0012,U+0011,U+0012,U+0011,U+0012,U+0011,U+0012,U+0011:[17|18|17|20|17|21|17|22|17|18|17|20|17] +#../fonts/gsub3_1_simple_f1.otf:--features="-test[1],test[3],test[5]=2,test[7]=3,-test[9],test[11]" --no-clusters --no-glyph-names --no-positions:U+0011,U+0012,U+0011,U+0012,U+0011,U+0012,U+0011,U+0012,U+0011,U+0012,U+0011,U+0012,U+0011:[17|18|17|20|17|21|17|22|17|18|17|20|17] diff --git a/test/shaping/data/aots/tests/lookupflag_ignore_attach.tests b/test/shaping/data/aots/tests/lookupflag_ignore_attach.tests index 6534fc09f..55ae5385e 100644 --- a/test/shaping/data/aots/tests/lookupflag_ignore_attach.tests +++ b/test/shaping/data/aots/tests/lookupflag_ignore_attach.tests @@ -1,5 +1,5 @@ -../fonts/lookupflag_ignore_attach_f1.otf:--features="test" --no-clusters --no-glyph-names --no-positions:U+000A,U+000B,U+000D,U+001A,U+000A:[10|15|10] -../fonts/lookupflag_ignore_attach_f1.otf:--features="test" --no-clusters --no-glyph-names --no-positions:U+000A,U+000B,U+0015,U+000D,U+0016,U+0017,U+001D,U+001A,U+000A:[10|15|21|22|23|29|10] -../fonts/lookupflag_ignore_attach_f1.otf:--features="test" --no-clusters --no-glyph-names --no-positions:U+000A,U+000B,U+0015,U+000D,U+0016,U+001B,U+001A,U+000A:[10|11|21|13|22|27|26|10] -../fonts/lookupflag_ignore_attach_f1.otf:--features="test" --no-clusters --no-glyph-names --no-positions:U+000A,U+000B,U+001B,U+000D,U+0016,U+0017,U+001A,U+000A:[10|11|27|13|22|23|26|10] -../fonts/lookupflag_ignore_attach_f1.otf:--features="test" --no-clusters --no-glyph-names --no-positions:U+000A,U+000B,U+001B,U+000D,U+000E,U+0017,U+001A,U+000A:[10|11|27|13|14|23|26|10] +#../fonts/lookupflag_ignore_attach_f1.otf:--features="test" --no-clusters --no-glyph-names --no-positions:U+000A,U+000B,U+000D,U+001A,U+000A:[10|15|10] +#../fonts/lookupflag_ignore_attach_f1.otf:--features="test" --no-clusters --no-glyph-names --no-positions:U+000A,U+000B,U+0015,U+000D,U+0016,U+0017,U+001D,U+001A,U+000A:[10|15|21|22|23|29|10] +#../fonts/lookupflag_ignore_attach_f1.otf:--features="test" --no-clusters --no-glyph-names --no-positions:U+000A,U+000B,U+0015,U+000D,U+0016,U+001B,U+001A,U+000A:[10|11|21|13|22|27|26|10] +#../fonts/lookupflag_ignore_attach_f1.otf:--features="test" --no-clusters --no-glyph-names --no-positions:U+000A,U+000B,U+001B,U+000D,U+0016,U+0017,U+001A,U+000A:[10|11|27|13|22|23|26|10] +#../fonts/lookupflag_ignore_attach_f1.otf:--features="test" --no-clusters --no-glyph-names --no-positions:U+000A,U+000B,U+001B,U+000D,U+000E,U+0017,U+001A,U+000A:[10|11|27|13|14|23|26|10]