test/subset/subset_test_suite.py


Log

Author Commit Date CI Message
Behdad Esfahbod f09c4d6d 2025-04-06T15:54:21 [test/subset] Fix a regular expression
Behdad Esfahbod 1f055939 2025-04-06T15:39:19 [test/subset] Massage more
Behdad Esfahbod d8f00171 2025-04-06T15:33:25 [test/subset] black
Behdad Esfahbod cc065cf2 2025-04-06T15:33:08 [test/subset] Better report passed tests
Qunxin Liu a5c9c826 2024-05-06T13:22:49 rename expected files from *.retain-all-codepoint.* to *.all.* This is to fix file name too long error tar: harfbuzz-8.4.0/test/subset/data/expected/sync_vmetrics/playwrite_mm.subset.default.retain-all-codepoint.SPED=25,YEXT=520,wght=100-400,slnt=18.iup_optimize.ttf: file name is too long (cannot be split); not dumped tar: Exiting with failure status due to previous errors
Qunxin Liu 84771374 2024-01-26T15:45:32 [instancer] add tests for iup delta optimization
Garret Rieger 14b9d8d5 2023-04-14T20:44:15 [subset] add --no-layout-closure flag. Disables layout glyph closure. Fixes #4192.
Garret Rieger ddd0f7f4 2023-02-22T20:23:34 [subset] Add a test for CFF2 instancing. Adds option to disable the fonttools comparison check in the test. This is needed since CFF2 instancing is not yet supported in fonttools.
Qunxin Liu f1a69ff1 2022-06-30T16:22:15 [instance] update scripts for testing instancing
Khaled Hosny 770fbd5a 2021-08-04T00:07:23 Revert "[test] Speed-up subset tests by saving TTX dump" This reverts commit 278f44dcee34cea25403e42e06668f0afe2328c1.
Khaled Hosny 278f44dc 2021-07-29T23:43:56 [test] Speed-up subset tests by saving TTX dump Speed-up subset tests by saving TTX dump of expected output instead of generating it each time the tests are run. Cuts down meson test --suite=subset on my system from: real 0m38.977s user 1m12.024s sys 0m10.547s to: real 0m22.291s user 0m44.548s sys 0m9.221s Part of https://github.com/harfbuzz/harfbuzz/issues/3089
Qunxin Liu f739e1dc 2021-05-11T11:44:32 [subset] subset both CPAL and COLRv1
Ebrahim Byagowi 368ca306 2020-05-29T00:42:32 minor on python scripts * remove not needed imports * remove semicolons
Ebrahim Byagowi ad87155f 2020-05-29T00:11:19 minor, use py3's open(encoding=)
Ebrahim Byagowi 8d199077 2020-02-19T14:56:55 Remove python2 support from tests/utils scripts
Qunxin Liu 1da1b4dc 2019-06-26T13:23:24 [subset] For option "--unicodes", add support for "*" to retain all code points
Michiharu Ariza 9328354a 2019-02-04T11:28:15 separate CFF from TrueType in full font tests
Michiharu Ariza c1286265 2019-02-01T14:50:01 added desubroutinize & retain-gids full test cases with CFF fonts and CFF retain-gids fixes
cclauss 26c5b54f 2018-12-31T04:30:43 CircleCI: Test for Python 3 syntax errors and undefined names (#1522) Catch missing imports and errors like #1520 and #1521 __E901,E999,F821,F822,F823__ are the "_showstopper_" [flake8](http://flake8.pycqa.org) issues that can halt the runtime with a SyntaxError, NameError, etc. Most other flake8 issues are merely "style violations" -- useful for readability but they do not effect runtime safety. * F821: undefined name `name` * F822: undefined name `name` in `__all__` * F823: local variable name referenced before assignment * E901: SyntaxError or IndentationError * E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree
Michiharu Ariza d8fadec0 2018-11-04T13:12:20 added desubroutinize full font test profiles & expected fonts modified subset_test_suite.py to apply desubroutinize profiles to CFF only (not to TT)
Michiharu Ariza bf4eb2e4 2018-09-18T15:53:37 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
Garret Rieger 5241d7f4 2018-02-27T13:15:40 [subset] apply subset profiles (flags) to the subset integration tests.
Garret Rieger 4cdae914 2018-01-26T13:57:48 Add basic directory structure for subsetter integration tests. Plus a utility for generating expected output files.