Ebrahim Byagowi
0181f03019
[test] Workaround Windows pipe issue by storing ttx in a file
5 years ago
Christoph Reiter
2354a90008
tests: fix subset/run-tests.py under Windows
...
It assumed that stdout of a subprocess in binary mode was using
utf-8 which isn't the case. Instead open stdout of the subprocess
in text mode and let Python handle the decoding.
5 years ago
Ebrahim Byagowi
b5526a09ff
[tools] Remove in-house 'which' now that we have py3
5 years ago
Ebrahim Byagowi
8d19907704
Remove python2 support from tests/utils scripts
5 years ago
ckitagawa
43b6c865ae
[subset] Support sbix subsetting
5 years ago
blueshade7
0eef8113d8
retain gids in HVAR so in sync with fontTools
...
regenerate Comfortaa subset test results
5 years ago
blueshade7
6e35668b45
fix var-subset build
5 years ago
Michiharu Ariza
66361c72f6
restore gvar/MVAR/HVAR tables in subset tests
6 years ago
Ebrahim Byagowi
13316ac5d4
[test] minor style improve
6 years ago
Qunxin Liu
993d81b9c5
[subset] Add one ttf file with fvar/STAT tables to integration test
...
Ignore gvar/MVAR/HVAR table
add support for --nameIDs=* option
6 years ago
Behdad Esfahbod
49b1c763a0
[test] Run "fonttools ttx" instead of "ttx"
6 years ago
Michiharu Ariza
bf4eb2e4cf
Added SourceSansPro-Regular along as CFF full-font test case
...
derived "expected" subset fonts from fonttools then manually tweaked further so they resemble hb-subset output
6 years ago
Ebrahim Byagowi
f57804a8a5
Resolve ttx absolute path before use ( #1075 )
6 years ago
violet-sippial
93b03119da
[subset] Do not compare ttx progress output in the tests
...
Suppress progress messages of ttx. This avoids comparing this output to the reference file which lets the test fail.
7 years ago
Ebrahim Byagowi
cab2c2c08c
Make more gen-* scripts py3 compatible ( #940 )
7 years ago
Ebrahim Byagowi
9206762bbd
Make subset test runner compatible with py3
...
Fixes #873
7 years ago
Garret Rieger
9b00b9a10d
[subset] Fix deadlock waiting for process output in subset test runner.
7 years ago
Garret Rieger
bfec28a7db
[subset] add some extra logging to subset run-tests.py.
7 years ago
Garret Rieger
b4ba71ea7c
[subset] In subset integration test pass output through ots-sanitize if present.
7 years ago
Garret Rieger
5241d7f4b9
[subset] apply subset profiles (flags) to the subset integration tests.
7 years ago
Garret Rieger
e15e41ef12
[subset] Remove commented code from run-tests.py.
7 years ago
Garret Rieger
a88504c601
[subset] Fix checksum clearning in subset test diff. Add an updated expected file (has cmap4 restored).
7 years ago
Garret Rieger
537698b601
[subset] Don't compare actual to itself in Fix test/subset/run-tests. Print a diff on failure.
7 years ago
Garret Rieger
04c1ec2b73
[subset] Don't fail on different checksum adjustment in subsetting tests.
7 years ago
Behdad Esfahbod
41906cd5ef
[subset] Another fixup
...
I broke this in c31fcf4c58
7 years ago
Behdad Esfahbod
e081c9e8fc
Oops!
7 years ago
Behdad Esfahbod
1c49afe179
Whitespace
7 years ago
Garret Rieger
d4d120ad79
Skip subset to fonttools comparison test if TTX is not present.
7 years ago
Garret Rieger
29d915284e
Whitespace
7 years ago
Garret Rieger
f9420d9eff
In the hb-subset to fontTools comparison, use ttx to compare the fonts. This allows for some binary differences such as re-ordered tables.
7 years ago
Garret Rieger
058b1260ad
Re-write hb-subset utility to use main-font-text driver.
7 years ago
Rod Sheeter
e9d154ac8d
tweak test failure output. write to a temp file not stdout. test still fails because expected is not just an identical copy of input
7 years ago
Garret Rieger
5c63c37b2b
WIP test runner for subset tests.
7 years ago