7ccc52b075
Most of time the files are identical, so instead of comparing the TTX dump we can check sha256 hashes of the files first and if they match, we don’t have to check the TTX dumps at all, making the subset tests orders of magnitude faster. time meson test --suite=subset down from: real 0m19.418s user 0m38.171s sys 0m3.587s to: real 0m3.102s user 0m8.622s sys 0m1.701s The expected files have been replaced by hb-subset output so they are bit-identical where FontTools output might not. The generate-expected-outputs.py now compares the hb-subset output with fontttols subset and errors of they don’t match. |
||
---|---|---|
.. | ||
Khmer.default.31.ttf | ||
Khmer.default.1780.ttf | ||
Khmer.default.1789,17BB,17C6,1794,17B6,1793,1798,17BE.ttf | ||
Khmer.retain-gids.31.ttf | ||
Khmer.retain-gids.1780.ttf | ||
Khmer.retain-gids.1789,17BB,17C6,1794,17B6,1793,1798,17BE.ttf |