silnrsi / grcompiler

The SIL Graphite compiler builds a Graphite enabled font from a smart font description
http://graphite.sil.org
Other
7 stars 3 forks source link

fails to test #15

Closed henrich closed 4 years ago

henrich commented 5 years ago

It fails to test as below, could you give me an advice, please?

Making check in GrcRegressionTest
make[4]: Entering directory '/build/grcompiler-5.1~c3dc5ff80/test/GrcRegressionTest'
make  check-local
make[5]: Entering directory '/build/grcompiler-5.1~c3dc5ff80/test/GrcRegressionTest'
./regtest -k -v -g ../../compiler/grcompiler -p ../../preprocessor/gdlpp -r ./GrcRegressionTest -d . ./fonts
Testing Font: ./fonts/Charis at v2
../../compiler/grcompiler -v2
Frexx C Preprocessor v1.5 Copyright (C) by FrexxWare 1993 - 1997.
Revised by SIL International for Graphite Description Language, Jan 14 2019
Graphite Compiler Version 5.1  [release build]
Copyright (c) 2002-2018, by SIL International.  All rights reserved.
Reading input font...

GDL file: ./fonts/CharisMain.gdl
PreProcessor: ../../preprocessor/gdlpp
Input TT file: ./fonts/CharisInput.ttf
Output TT file: ./CharisTest.ttf
Output font name: Charis GrcRegTest (unchanged)
Silf table version requested: 2.0

Parsing file ./fonts/CharisMain.gdl...
Initial processing...
Checking for errors...
Compiling...
[Generating FSMs:  table 0 pass 0 1 (mc 138 fsm 3349 279) 2 (mc 39 fsm 363 92);  table 1 pass 0 1 (mc 25 fsm 3493 474) 2 (mc 5 fsm 1080 493) 3 (mc 6 fsm 1927 733); ]
Compilation successful!
128 warnings ignored.
Graphite Compiler Regression Test

Testing ./CharisTest.ttf against ./fonts/CharisBenchmark.ttf...
ERROR: class map - glyph of class[1]
ERROR: class map - glyph of class[2]
ERROR: class map - glyph of class[3]
ERROR: class map - glyph of class[4]
ERROR: class map - glyph of class[5]
ERROR: class map - glyph of class[7]
ERROR: class map - glyph of class[8]
ERROR: class map - glyph of class[9]
ERROR: Silf table - glyph index in class[168]
ERROR: Silf table - glyph index in class[168]
ERROR: Silf table - glyph index in class[168]
ERROR: Silf table - glyph index in class[168]
ERROR: Silf table - glyph index in class[168]
ERROR: Silf table - glyph index in class[168]
ERROR: Silf table - glyph index in class[168]
ERROR: Silf table - glyph index in class[168]
ERROR: pass FSM[0] - glyph range column[729]
ERROR: pass FSM[0] - glyph range column[730]
ERROR: pass FSM[0] - glyph range column[731]
ERROR: pass FSM[0] - glyph range column[732]
ERROR: pass FSM[0] - glyph range column[733]
ERROR: pass FSM[0] - glyph range column[735]
ERROR: pass FSM[0] - glyph range column[736]
ERROR: pass FSM[0] - glyph range column[737]
ERROR: pass[1], FSM cell[731]
ERROR: pass[1], FSM cell[732]
ERROR: pass[1], FSM cell[771]
ERROR: pass[1], FSM cell[772]
ERROR: pass[1], FSM cell[809]
ERROR: pass[1], FSM cell[811]
ERROR: pass[1], FSM cell[851]
ERROR: pass[1], FSM cell[852]
ERROR: pass[1], FSM cell[890]
ERROR: pass[1], FSM cell[891]
ERROR: pass[1], FSM cell[971]
ERROR: pass[1], FSM cell[973]
ERROR: pass[1], FSM cell[1010]
ERROR: pass[1], FSM cell[1011]
ERROR: pass[1], FSM cell[1050]
ERROR: pass[1], FSM cell[1051]
ERROR: pass[1], FSM cell[1199]
ERROR: pass[1], FSM cell[1200]
ERROR: pass[1], FSM cell[1239]
ERROR: pass[1], FSM cell[1240]
ERROR: pass[1], FSM cell[1277]
ERROR: pass[1], FSM cell[1279]
ERROR: pass[1], FSM cell[1319]
ERROR: pass[1], FSM cell[1320]
ERROR: pass[1], FSM cell[1358]
ERROR: pass[1], FSM cell[1359]
ERROR: pass[1], FSM cell[1439]
ERROR: pass[1], FSM cell[1441]
ERROR: pass[1], FSM cell[1478]
ERROR: pass[1], FSM cell[1479]
ERROR: pass[1], FSM cell[1518]
ERROR: pass[1], FSM cell[1519]
ERROR: pass[1], FSM cell[1628]
ERROR: pass[1], FSM cell[1629]
ERROR: pass[1], FSM cell[1668]
ERROR: pass[1], FSM cell[1669]
ERROR: pass[1], FSM cell[1706]
ERROR: pass[1], FSM cell[1708]
ERROR: pass[1], FSM cell[1748]
ERROR: pass[1], FSM cell[1749]
ERROR: pass[1], FSM cell[1787]
ERROR: pass[1], FSM cell[1788]
ERROR: pass[1], FSM cell[1868]
ERROR: pass[1], FSM cell[1870]
ERROR: pass[1], FSM cell[1907]
ERROR: pass[1], FSM cell[1908]
ERROR: pass[1], FSM cell[1947]
ERROR: pass[1], FSM cell[1948]
ERROR: pass[1], FSM cell[2057]
ERROR: pass[1], FSM cell[2058]
ERROR: pass[1], FSM cell[2097]
ERROR: pass[1], FSM cell[2098]
ERROR: pass[1], FSM cell[2135]
ERROR: pass[1], FSM cell[2137]
ERROR: pass[1], FSM cell[2177]
ERROR: pass[1], FSM cell[2178]
ERROR: pass[1], FSM cell[2216]
ERROR: pass[1], FSM cell[2217]
ERROR: pass[1], FSM cell[2297]
ERROR: pass[1], FSM cell[2299]
ERROR: pass[1], FSM cell[2336]
ERROR: pass[1], FSM cell[2337]
ERROR: pass[1], FSM cell[2376]
ERROR: pass[1], FSM cell[2377]
ERROR: Glat table - glyph[2677], attr value[0]
   Values: [2344] -> [2324]
ERROR: Glat table - glyph[2678], attr value[0]
   Values: [2324] -> [2334]
ERROR: Glat table - glyph[2679], attr value[0]
   Values: [2334] -> [2344]
ERROR: Glat table - glyph[2680], attr value[0]
   Values: [2364] -> [2354]
ERROR: Glat table - glyph[2681], attr value[0]
   Values: [2354] -> [2364]
ERROR: Glat table - glyph[2683], attr value[0]
   Values: [2394] -> [2384]
ERROR: Glat table - glyph[2684], attr value[0]
   Values: [2404] -> [2394]
ERROR: Glat table - glyph[2685], attr value[0]
   Values: [2384] -> [2404]
ERROR: Feat table - value for setting[5]
ERROR: Feat table - label for setting[5]
ERROR: Feat table - value for setting[6]
ERROR: Feat table - label for setting[6]
ERROR: Feat table - value for setting[7]
ERROR: Feat table - label for setting[7]
ERROR: Feat table - value for setting[23]
ERROR: Feat table - label for setting[23]
ERROR: Feat table - value for setting[24]
ERROR: Feat table - label for setting[24]
ERROR: Feat table - value for setting[25]
ERROR: Feat table - label for setting[25]
FAILED
job error 116
Testing Font: ./fonts/Padauk at v3
../../compiler/grcompiler -v3
Frexx C Preprocessor v1.5 Copyright (C) by FrexxWare 1993 - 1997.
Revised by SIL International for Graphite Description Language, Jan 14 2019
Graphite Compiler Version 5.1  [release build]
Copyright (c) 2002-2018, by SIL International.  All rights reserved.
Reading input font...

GDL file: ./fonts/PadaukMain.gdl
PreProcessor: ../../preprocessor/gdlpp
Input TT file: ./fonts/PadaukInput.ttf
Output TT file: ./PadaukTest_v3.ttf
Output font name: Padauk GrcRegTest (unchanged)
Silf table version requested: 3.0

Parsing file ./fonts/PadaukMain.gdl...
Initial processing...
Checking for errors...
Compiling...
[Generating FSMs:  table 0 pass 0 (mc 21 fsm 362 61);  table 1 pass 0 1 (mc 25 fsm 245 121) 2 (mc 4 fsm 17 7) 3 (mc 39 fsm 1481 203);  table 2 pass 0 1 (mc 43 fsm 2010 198) 2 (mc 17 fsm 49 19); ]
Compilation successful!
3 warnings have been output to ./fonts/gdlerr.txt (52 warnings ignored).
Graphite Compiler Regression Test

Testing ./PadaukTest_v3.ttf against ./fonts/icu42/PadaukBenchmark_v3.ttf...
ERROR: size of Silf tables do not match
ERROR: size of Glat tables do not match
ERROR: size of Gloc tables do not match
ERROR: Silf table - line-break flag
ERROR: Silf table - breakweight attr
ERROR: Silf table - directionality attr
ERROR: Silf table - pass offsets[2]
ERROR: Silf table - pass offsets[3]
ERROR: Silf table - pass offsets[4]
ERROR: Silf table - pass offsets[5]
ERROR: Silf table - pass offsets[6]
ERROR: Gloc table - number of attributes
FAILED
job error 12
Testing Font: ./fonts/PigLatin at v2
../../compiler/grcompiler -v2
Frexx C Preprocessor v1.5 Copyright (C) by FrexxWare 1993 - 1997.
Revised by SIL International for Graphite Description Language, Jan 14 2019
Graphite Compiler Version 5.1  [release build]
Copyright (c) 2002-2018, by SIL International.  All rights reserved.
Reading input font...

GDL file: ./fonts/PigLatinMain.gdl
PreProcessor: ../../preprocessor/gdlpp
Input TT file: ./fonts/PigLatinInput.ttf
Output TT file: ./PigLatinTest_v2.ttf
Output font name: PigLatin GrcRegTest (unchanged)
Silf table version requested: 2.0

Parsing file ./fonts/PigLatinMain.gdl...
Initial processing...
Checking for errors...
Compiling...
[Generating FSMs:  table 0 pass 0 (mc 4 fsm 35 15); ]
Compilation successful!
Graphite Compiler Regression Test

Testing ./PigLatinTest_v2.ttf against ./fonts/PigLatinBenchmark_v2.ttf...
ERROR: size of name tables do not match
ERROR: size of Glat tables do not match
ERROR: size of Gloc tables do not match
ERROR: Glat table - glyph[1], attr entry first attr[0]
FAILED
job error 4
Testing Font: ./fonts/PigLatin at v3
../../compiler/grcompiler -v3
Frexx C Preprocessor v1.5 Copyright (C) by FrexxWare 1993 - 1997.
Revised by SIL International for Graphite Description Language, Jan 14 2019
Graphite Compiler Version 5.1  [release build]
Copyright (c) 2002-2018, by SIL International.  All rights reserved.
Reading input font...

GDL file: ./fonts/PigLatinMain.gdl
PreProcessor: ../../preprocessor/gdlpp
Input TT file: ./fonts/PigLatinInput.ttf
Output TT file: ./PigLatinTest_v3.ttf
Output font name: PigLatin GrcRegTest (unchanged)
Silf table version requested: 3.0

Parsing file ./fonts/PigLatinMain.gdl...
Initial processing...
Checking for errors...
Compiling...
[Generating FSMs:  table 0 pass 0 (mc 4 fsm 35 15); ]
Compilation successful!
Graphite Compiler Regression Test

Testing ./PigLatinTest_v3.ttf against ./fonts/PigLatinBenchmark_v3.ttf...
ok
Comparing ./PigLatinTest_v3.ttf and ./fonts/PigLatinBenchmark_v3.ttf
Testing Font: ./fonts/Sch at v2
../../compiler/grcompiler -v2
Frexx C Preprocessor v1.5 Copyright (C) by FrexxWare 1993 - 1997.
Revised by SIL International for Graphite Description Language, Jan 14 2019
Graphite Compiler Version 5.1  [release build]
Copyright (c) 2002-2018, by SIL International.  All rights reserved.
Reading input font...

GDL file: ./fonts/SchMain.gdl
PreProcessor: ../../preprocessor/gdlpp
Input TT file: ./fonts/SchInput.ttf
Output TT file: ./SchTest.ttf
Output font name: Scheherazade GrcRegTest (unchanged)
Silf table version requested: 2.0

Parsing file ./fonts/SchMain.gdl...
Initial processing...
Checking for errors...
Compiling...
[Generating FSMs:  table 0 pass 0 1 (mc 4 fsm 5 5) 2 (mc 4 fsm 45 19) 3 (mc 2 fsm 3 3) 4 (mc 13 fsm 120 57) 5 (mc 15 fsm 41 15) 6 (mc 8 fsm 46 36);  table 1 pass 0 1 (mc 21 fsm 235 64) 2 (mc 9 fsm 52 16) 3 (mc 32 fsm 1623 368); ]
Compilation successful!
1 warning has been output to ./fonts/gdlerr.txt (121 warnings ignored).
Graphite Compiler Regression Test

Testing ./SchTest.ttf against ./fonts/icu48/SchBenchmark.ttf...
ERROR: size of Silf tables do not match
ERROR: size of Feat tables do not match
ERROR: size of Glat tables do not match
ERROR: size of Gloc tables do not match
ERROR: Silf table - first reordered pass
ERROR: Silf table - line-break flag
ERROR: Silf table - breakweight attr
ERROR: Silf table - directionality attr
ERROR: Silf table - pass offsets[0]
ERROR: Silf table - pass offsets[1]
ERROR: Silf table - pass offsets[2]
ERROR: Silf table - pass offsets[3]
ERROR: Silf table - pass offsets[4]
ERROR: Silf table - pass offsets[5]
ERROR: Silf table - pass offsets[6]
ERROR: Silf table - pass offsets[7]
ERROR: Silf table - pass offsets[8]
ERROR: Silf table - pass offsets[9]
ERROR: class map - offset[2]
ERROR: class map - offset[3]
ERROR: class map - offset[4]
ERROR: class map - offset[5]
ERROR: class map - offset[6]
ERROR: class map - offset[7]
ERROR: class map - offset[8]
ERROR: class map - offset[9]
ERROR: class map - offset[10]
ERROR: class map - offset[11]
ERROR: class map - offset[12]
ERROR: class map - offset[13]
ERROR: class map - offset[14]
ERROR: class map - offset[15]
ERROR: class map - offset[16]
ERROR: class map - offset[17]
ERROR: class map - offset[18]
ERROR: class map - offset[19]
ERROR: class map - offset[20]
ERROR: class map - offset[21]
ERROR: class map - offset[22]
ERROR: class map - offset[23]
ERROR: class map - offset[24]
ERROR: class map - offset[25]
ERROR: class map - offset[26]
ERROR: class map - offset[27]
ERROR: class map - offset[28]
ERROR: class map - offset[29]
ERROR: class map - offset[30]
ERROR: class map - offset[31]
ERROR: class map - offset[32]
ERROR: class map - offset[33]
ERROR: class map - offset[34]
ERROR: class map - offset[35]
ERROR: class map - offset[36]
ERROR: class map - offset[37]
ERROR: class map - offset[38]
ERROR: class map - offset[39]
ERROR: class map - offset[40]
ERROR: class map - offset[41]
ERROR: class map - offset[42]
ERROR: class map - offset[43]
ERROR: class map - offset[44]
ERROR: class map - offset[45]
ERROR: class map - offset[46]
ERROR: class map - offset[47]
ERROR: class map - offset[48]
ERROR: class map - offset[49]
ERROR: class map - offset[50]
ERROR: class map - offset[51]
ERROR: class map - offset[52]
ERROR: class map - offset[53]
ERROR: class map - offset[54]
ERROR: class map - offset[55]
ERROR: class map - offset[56]
ERROR: class map - offset[57]
ERROR: class map - offset[58]
ERROR: class map - offset[59]
ERROR: class map - offset[60]
ERROR: class map - offset[61]
ERROR: class map - offset[62]
ERROR: class map - offset[63]
ERROR: class map - offset[64]
ERROR: Gloc table - number of attributes
ERROR: Feat table - feature ID[0]
ERROR: Feat table - feature ID[1]
ERROR: Feat table - feature ID[2]
ERROR: Feat table - feature ID[3]
ERROR: Feat table - feature ID[4]
ERROR: Feat table - feature ID[5]
ERROR: Feat table - feature ID[6]
ERROR: Feat table - feature ID[7]
ERROR: Feat table - feature ID[8]
ERROR: Feat table - feature ID[9]
ERROR: Feat table - feature ID[10]
ERROR: Feat table - feature ID[11]
ERROR: Sill table - feature ID[0]
ERROR: Sill table - feature ID[1]
ERROR: Sill table - feature ID[2]
ERROR: Sill table - feature ID[3]
ERROR: Sill table - feature ID[4]
ERROR: Sill table - feature ID[5]
ERROR: Sill table - feature ID[6]
ERROR: Sill table - feature ID[7]
ERROR: Sill table - feature ID[8]
ERROR: Sill table - feature ID[9]
ERROR: Sill table - feature ID[10]
ERROR: Sill table - feature ID[11]
ERROR: Sill table - feature ID[12]
ERROR: Sill table - feature ID[13]
ERROR: Sill table - feature ID[14]
ERROR: Sill table - feature ID[15]
ERROR: Sill table - feature ID[16]
ERROR: Sill table - feature ID[17]
ERROR: Sill table - feature ID[18]
ERROR: Sill table - feature ID[19]
ERROR: Sill table - feature ID[20]
FAILED
job error 115
247 errors encountered
make[5]: *** [Makefile:772: check-local] Error 247
make[5]: Leaving directory '/build/grcompiler-5.1~c3dc5ff80/test/GrcRegressionTest'
make[4]: *** [Makefile:632: check-am] Error 2
make[4]: Leaving directory '/build/grcompiler-5.1~c3dc5ff80/test/GrcRegressionTest'
make[3]: *** [Makefile:336: check-recursive] Error 1
make[3]: Leaving directory '/build/grcompiler-5.1~c3dc5ff80/test'
make[2]: *** [Makefile:374: check-recursive] Error 1
make[2]: Leaving directory '/build/grcompiler-5.1~c3dc5ff80'
dh_auto_test: make -j1 check VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:14: override_dh_auto_test] Error 2
make[1]: Leaving directory '/build/grcompiler-5.1~c3dc5ff80'
make: *** [debian/rules:8: build] Error 2

And in debian/rules in this repository, it just ignores test as

override_dh_auto_test:
    @echo $@
sharoncorrell commented 5 years ago

I don't know what caused those problems, but more recently I had test failures due to changes in which glyph attributes were created/defined. I've regenerated the benchmark files and pushed them.

nrsiward commented 4 years ago

Building and testing v5.2 with CMake now passes all tests.

henrich commented 4 years ago

Thanks, is v5.2 not tagged?

bobh0303 commented 4 years ago

Sorry for the confusion. We are testing release candidates now; it will be tagged when released, which should be very soon.

henrich commented 4 years ago

Now I've noticed that I ran autotools based test, not kicked with cmake. With cmake, tests have passed well.