History log of /external/harfbuzz_ng/test/shaping/hb_test_tools.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
988350586f607c7a46bbb658a2abecfd004f41fb 18-Jun-2016 Khaled Hosny <khaledhosny@eglug.org> [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
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
43bb2b8fb00705c3334730a58ade7984181018b2 10-Feb-2016 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
8f0a4d67143ccdef0b5a6ac99fb9b680c3a2f69c 23-Apr-2015 Behdad Esfahbod <behdad@behdad.org> [test] Ignor 'n' and 'i' in hb-unicode-encode

Allows accepting uniXXXX format.
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
9868749abe468130d89c80a2501847a83acb4579 06-Apr-2015 Behdad Esfahbod <behdad@behdad.org> [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
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
363ceec3fb0c9566db5a59da31e508f69dea1e92 30-Mar-2015 Ebrahim Byagowi <ebrahim@gnu.org> 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.
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
c4308f895aef93ed884fd54e4ebc65b6d2cfc94a 14-Aug-2014 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
e2dab69291a5d86fc90a8c273c458c16574eafb5 14-Oct-2013 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
64bb2ae857cfda35dd71c7f1e962722069674ec6 12-Feb-2013 Behdad Esfahbod <behdad@behdad.org> Didn't mean to push this out

Ouch!
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
f9b660534c269d2257d6b5e8ec2173ee71668f2f 12-Feb-2013 Behdad Esfahbod <behdad@behdad.org> [Myanmar] Use master Indic table for syllable data
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
6b19fa48621dbf36d471d5005f6ae20df350954f 14-Nov-2012 Behdad Esfahbod <behdad@behdad.org> Adjust diff rule for the new hb-shape output format
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
911ed096980630fd4a37bf2024036daae13a6056 30-Oct-2012 Behdad Esfahbod <behdad@behdad.org> Ignore gid0 in test results
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
efb8d3eb713bca7cbfca41380a012bdb4d380e5c 05-Sep-2012 Behdad Esfahbod <behdad@behdad.org> 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.
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
a4e75e4128751bb902117abc1a59dce4f2147672 27-Aug-2012 Behdad Esfahbod <behdad@behdad.org> Minor
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
c3f769ba09df319fa69d04f68c57444f95eceee6 24-Jul-2012 Behdad Esfahbod <behdad@behdad.org> [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%)
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
deeb540a74f8d394db273145b17bf385d14d01bb 19-Jul-2012 Behdad Esfahbod <behdad@behdad.org> [test] Ignore tests with DOTTED CIRCLE in the output
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
f538fcb538f1decb4100ba89457eb83f2350d64b 12-May-2012 Behdad Esfahbod <behdad@behdad.org> [test] Make tool usage easier by not requiring "--stdin"

Just default to it. Added "--help" instead to get usage.
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
2214a03900d32710573a1b05c7665195b3129761 09-May-2012 Behdad Esfahbod <behdad@behdad.org> Add hb-diff-ngrams
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
178e6dce01ad28c8708bad62ce0fb79c46e836dc 09-May-2012 Behdad Esfahbod <behdad@behdad.org> Add N-gram generator
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
98669ceb77657d60435f2cb2e3fc18272c0a2c6a 09-May-2012 Behdad Esfahbod <behdad@behdad.org> Use groupby()
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
c438a14b62433db488b5c90854a4a3934adf3305 09-May-2012 Behdad Esfahbod <behdad@behdad.org> Add hb-diff-stat
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
1058d031e2046eb80331b0950eaff75c2bf608dc 09-May-2012 Behdad Esfahbod <behdad@behdad.org> Make hb-diff-filter-failtures retain all test info for failed tests
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
f1eb008cc727370e1bd0dc32fdf301f62d9ff981 08-May-2012 Behdad Esfahbod <behdad@behdad.org> Add hb-diff-colorize

Accepts --format=html now.
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
9155e4ffe00c96a2c14e14a300004b1038ca3a9c 08-May-2012 Behdad Esfahbod <behdad@behdad.org> Cleanup diff

Doesn't do --color anymore. That will go into a new hb-diff-colorize
tool.
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
7d22135b4c3f8fb70552302bf8239df9976dddda 08-May-2012 Behdad Esfahbod <behdad@behdad.org> Make hb-diff faster
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
e95d912b3b0af027c4384553f95236db822e5acc 11-Apr-2012 Behdad Esfahbod <behdad@behdad.org> Fix diff tool
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
71be4ca3dd5eaaca31957e34fef11f6aeb4aebdf 22-Jan-2012 Behdad Esfahbod <behdad@behdad.org> Also ignore "ChangeLog" in manifests
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
3c9a39ecd65990f2c7b29bb741c6a538fa425531 22-Jan-2012 Behdad Esfahbod <behdad@behdad.org> Remove newline
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
e4ccbfe276db5ed098ddcf78a7bb8f2da4263128 22-Jan-2012 Behdad Esfahbod <behdad@behdad.org> 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.
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
8f80f93491be73f05eba908591c856339acda51e 22-Jan-2012 Behdad Esfahbod <behdad@behdad.org> More shoveling around
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
c78c6e9844a23144ce7fa29afbf57b74587bfcd0 22-Jan-2012 Behdad Esfahbod <behdad@behdad.org> Cleanup
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
3e86feb54c94e46b60168fd2a4773183eb1354b4 22-Jan-2012 Behdad Esfahbod <behdad@behdad.org> Speed up colorless diff
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
1e58df603457cb4b57da78b5d4a8df66aa7d7be4 22-Jan-2012 Behdad Esfahbod <behdad@behdad.org> Cleanup manifest code
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
956d552e108eeb50bb3ad21588830af7a2f3862a 22-Jan-2012 Behdad Esfahbod <behdad@behdad.org> Port hb-manifest-update to Python
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
3a34e9e351ed0ee3eb27f9c0f154bc227f1226bf 22-Jan-2012 Behdad Esfahbod <behdad@behdad.org> Ignore Broken Pipe errors
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
f22089ac24f43ff048c2a0f1c1f604ae3a96be8b 21-Jan-2012 Behdad Esfahbod <behdad@behdad.org> Misc fixes
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
96968bfae5ce61a0a098bf0e6acd2210a309a499 21-Jan-2012 Behdad Esfahbod <behdad@behdad.org> Port hb-manifest-read to Python
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
46ac45647760984c6220f04ba4521038e628b169 21-Jan-2012 Behdad Esfahbod <behdad@behdad.org> Fix Unicode encoding issue
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
ad34e39a4a320310b1edd9fc4d7e740373510c69 21-Jan-2012 Behdad Esfahbod <behdad@behdad.org> Make test tools interactive

By bypassing readlines() buffering.
/external/harfbuzz_ng/test/shaping/hb_test_tools.py
91540a7d97051a3d6e97fdcd1e98af23e0780cdd 21-Jan-2012 Behdad Esfahbod <behdad@behdad.org> Move most testing logic into hb_test_tools.py

The actual utils are one-liners now.
/external/harfbuzz_ng/test/shaping/hb_test_tools.py