test/shaping/hb_test_tools.py


Log

Author Commit Date CI Message
David Corbett b225593d 2018-12-11T13:19:17 Correct REPLACEMENT CHARACTER's code point to FFFD (#1471)
Behdad Esfahbod eb1e6028 2018-10-01T15:31:50 [test] Try import unicodedata2 as unicodedata
Ebrahim Byagowi 26e0cbd8 2018-03-29T21:22:47 Actual py3 compatibility making on gen-* scripts (#941)
Ebrahim Byagowi cab2c2c0 2018-03-29T12:48:47 Make more gen-* scripts py3 compatible (#940)
Behdad Esfahbod 9a3ad307 2018-01-09T21:35:21 [test] Remove unused hb-diff-ngrams
David Corbett d8df7142 2017-10-25T16:06:01 Fix code point iteration in narrow Python
Behdad Esfahbod 03a5a6f8 2017-09-01T19:09:54 [util] Add --unicodes to hb-view / hb-shape Fixes https://github.com/behdad/harfbuzz/issues/154
Khaled Hosny f2e6c7ce 2017-03-26T10:48:53 [tools] Make hb-unicode-code work with Python 3 Related to https://github.com/behdad/harfbuzz/pull/445
Khaled Hosny 98835058 2016-06-18T21:12:19 [tests] Workaround Python 2 “narrow” builds The so-called Python 2 “narrow” builds support UCS2 only, this is a workaround to allow unichr to work with any Unicode character in such builds. This fixes Travis-CI failure as it has narrow Python 2 builds. Copied from: https://github.com/behdad/fonttools/blob/master/Lib/fontTools/misc/py23.py
Behdad Esfahbod 43bb2b8f 2016-02-10T14:11:43 Minor
Behdad Esfahbod 8f0a4d67 2015-04-23T14:32:33 [test] Ignor 'n' and 'i' in hb-unicode-encode Allows accepting uniXXXX format.
Behdad Esfahbod 9868749a 2015-04-06T14:51:31 [test] Use /usr/bin/env python instead of /usr/bin/python Bug 76494 - #!/usr/bin/python in testsuite https://bugs.freedesktop.org/show_bug.cgi?id=76494
Ebrahim Byagowi 363ceec3 2015-03-30T03:27:14 Make hb_test_tools.py compatible with python 3 On ArchLinux, /usr/bin/python is linked to python 3 so HarfBuzz `make check` is broken there. This makes hb_test_tools.py compatible with python 3 while no breaking it on python 2.
Behdad Esfahbod c4308f89 2014-08-13T19:42:01 Minor
Behdad Esfahbod e2dab692 2013-10-14T16:44:44 Minor
Behdad Esfahbod 64bb2ae8 2013-02-12T16:29:25 Didn't mean to push this out Ouch!
Behdad Esfahbod f9b66053 2013-02-12T16:13:56 [Myanmar] Use master Indic table for syllable data
Behdad Esfahbod 6b19fa48 2012-11-14T11:38:50 Adjust diff rule for the new hb-shape output format
Behdad Esfahbod 911ed096 2012-10-29T19:42:19 Ignore gid0 in test results
Behdad Esfahbod efb8d3eb 2012-09-05T15:50:47 Fixup test failure reporting After we implemented dotted-circle, we were still ignoring any tests that had dottedcircle in it for any of the shapers. That meant that if we wrongly outputted dottedcircle, the test was being ignored. Ouch! Fixing that shows regressions across the board. Most are Uniscribe bugs: NOT inserting dotted-circle when it should. Some are arou machine bugs. This is in fact a nice way to catch Indic-machine deficiencies and when I fix the regressions, our clusters should be much closer to Uniscribe. For now, we regressed from: BENGALI: 353997 out of 354285 tests passed. 288 failed (0.0812905%) DEVANAGARI: 707339 out of 707394 tests passed. 55 failed (0.00777502%) GUJARATI: 366489 out of 366506 tests passed. 17 failed (0.0046384%) GURMUKHI: 60769 out of 60809 tests passed. 40 failed (0.0657797%) KANNADA: 951086 out of 951913 tests passed. 827 failed (0.0868777%) KHMER: 299106 out of 299124 tests passed. 18 failed (0.00601757%) LAO: 53611 out of 53644 tests passed. 33 failed (0.0615167%) MALAYALAM: 1048104 out of 1048416 tests passed. 312 failed (0.0297592%) ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) SINHALA: 271747 out of 271847 tests passed. 100 failed (0.0367854%) TAMIL: 1091837 out of 1091837 tests passed. 0 failed (0%) TELUGU: 970558 out of 970573 tests passed. 15 failed (0.00154548%) TIBETAN: 208469 out of 208469 tests passed. 0 failed (0%) To: BENGALI: 353990 out of 354285 tests passed. 295 failed (0.0832663%) DEVANAGARI: 707315 out of 707394 tests passed. 79 failed (0.0111678%) GUJARATI: 366447 out of 366506 tests passed. 59 failed (0.016098%) GURMUKHI: 60707 out of 60809 tests passed. 102 failed (0.167738%) KANNADA: 951042 out of 951913 tests passed. 871 failed (0.0915%) KHMER: 298962 out of 299124 tests passed. 162 failed (0.0541581%) LAO: 53611 out of 53644 tests passed. 33 failed (0.0615167%) MALAYALAM: 1048074 out of 1048416 tests passed. 342 failed (0.0326206%) ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) SINHALA: 271666 out of 271847 tests passed. 181 failed (0.0665816%) TAMIL: 1091835 out of 1091837 tests passed. 2 failed (0.000183178%) TELUGU: 970553 out of 970573 tests passed. 20 failed (0.00206064%) TIBETAN: 208469 out of 208469 tests passed. 0 failed (0%) Investigating.
Behdad Esfahbod a4e75e41 2012-08-27T15:54:15 Minor
Behdad Esfahbod c3f769ba 2012-07-24T13:26:32 [Indic] Ignore Uniscribe output containing two zero-width space glyphs Uniscribe is buggy and sometimes /eats/ a mark next to a non-joiner. Most of Malayalam failures where actually hitting this bug. Ignore test output with two zero-width space glyphs. This is a hack until we build up the test suite infrastructure better. Bengali went down by 9, Devanagari by 2, Kannada by 130, Malayalm down from 1197 to 307, Sinhala down by 16, Telugu down by 26. New stats: BENGALI: 353996 out of 354285 tests passed. 289 failed (0.0815727%) DEVANAGARI: 693573 out of 693628 tests passed. 55 failed (0.00792932%) GUJARATI: 366489 out of 366506 tests passed. 17 failed (0.0046384%) GURMUKHI: 60750 out of 60809 tests passed. 59 failed (0.0970251%) KANNADA: 951086 out of 951913 tests passed. 827 failed (0.0868777%) KHMER: 299094 out of 299124 tests passed. 30 failed (0.0100293%) MALAYALAM: 1048109 out of 1048416 tests passed. 307 failed (0.0292823%) ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%) SINHALA: 271715 out of 271847 tests passed. 132 failed (0.0485567%) TAMIL: 1091837 out of 1091837 tests passed. 0 failed (0%) TELUGU: 970550 out of 970573 tests passed. 23 failed (0.00236973%)
Behdad Esfahbod deeb540a 2012-07-19T11:30:48 [test] Ignore tests with DOTTED CIRCLE in the output
Behdad Esfahbod f538fcb5 2012-05-12T15:34:40 [test] Make tool usage easier by not requiring "--stdin" Just default to it. Added "--help" instead to get usage.
Behdad Esfahbod 2214a039 2012-05-09T09:54:54 Add hb-diff-ngrams
Behdad Esfahbod 178e6dce 2012-05-09T08:57:29 Add N-gram generator
Behdad Esfahbod 98669ceb 2012-05-09T08:16:15 Use groupby()
Behdad Esfahbod c438a14b 2012-05-09T07:45:17 Add hb-diff-stat
Behdad Esfahbod 1058d031 2012-05-09T07:30:07 Make hb-diff-filter-failtures retain all test info for failed tests
Behdad Esfahbod f1eb008c 2012-05-08T23:41:41 Add hb-diff-colorize Accepts --format=html now.
Behdad Esfahbod 9155e4ff 2012-05-08T22:44:21 Cleanup diff Doesn't do --color anymore. That will go into a new hb-diff-colorize tool.
Behdad Esfahbod 7d22135b 2012-05-08T19:38:49 Make hb-diff faster
Behdad Esfahbod e95d912b 2012-04-11T17:33:02 Fix diff tool
Behdad Esfahbod 71be4ca3 2012-01-22T16:26:49 Also ignore "ChangeLog" in manifests
Behdad Esfahbod 3c9a39ec 2012-01-22T16:21:19 Remove newline
Behdad Esfahbod e4ccbfe2 2012-01-22T16:07:32 Allow --color=html in hb-diff Not that useful right now as we don't escape < and >. Perhaps another tool can be added to convert the ANSI output to HTML.
Behdad Esfahbod 8f80f934 2012-01-21T20:03:25 More shoveling around
Behdad Esfahbod c78c6e98 2012-01-21T19:55:16 Cleanup
Behdad Esfahbod 3e86feb5 2012-01-21T19:40:30 Speed up colorless diff
Behdad Esfahbod 1e58df60 2012-01-21T19:37:31 Cleanup manifest code
Behdad Esfahbod 956d552e 2012-01-21T19:31:51 Port hb-manifest-update to Python
Behdad Esfahbod 3a34e9e3 2012-01-21T19:15:41 Ignore Broken Pipe errors
Behdad Esfahbod f22089ac 2012-01-20T21:21:47 Misc fixes
Behdad Esfahbod 96968bfa 2012-01-20T21:16:34 Port hb-manifest-read to Python
Behdad Esfahbod 46ac4564 2012-01-20T19:32:17 Fix Unicode encoding issue
Behdad Esfahbod ad34e39a 2012-01-20T18:39:27 Make test tools interactive By bypassing readlines() buffering.
Behdad Esfahbod 91540a7d 2012-01-20T18:27:52 Move most testing logic into hb_test_tools.py The actual utils are one-liners now.