[test] Enable more of aots tests (#1408)

The ones commented out in this change should've be passed :/
a closer look is needed.
This commit is contained in:
Ebrahim Byagowi 2018-11-24 20:49:21 +03:30 committed by GitHub
parent 24887d1115
commit 3cc14e78ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 46 additions and 45 deletions

View File

@ -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)

View File

@ -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++)
{

View File

@ -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]

View File

@ -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]

View File

@ -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]