Behdad Esfahbod
d8ea552d10
[aat] Improve unsafe-to-break logic
...
Reduces false-positives. See comments for new logic.
Fixes https://github.com/harfbuzz/harfbuzz/issues/2860
Adjusts run-tests.sh to allow unhashed absolute filenames.
2021-02-19 16:23:22 -07:00
Ebrahim Byagowi
ba810ce83d
[tests] Replace space with colon in batch mode
2020-07-06 13:53:19 +04:30
Ebrahim Byagowi
2013babcbf
[tests] Use HAVE_FREETYPE itself instead NO_FT_FUNCS
2020-07-06 11:57:45 +04:30
Ebrahim Byagowi
4db1b4f1a2
[tests] rename no_ft_funcs to NO_FT_FUNCS
2020-07-04 16:21:21 +04:30
Ebrahim Byagowi
43e3ab019c
[tests] make tests work when ft isn't present
2020-07-04 13:56:08 +04:30
Ebrahim Byagowi
c4b6bad73a
[tests] revert da95a8c
and use the shared hb-shape process
2020-07-04 13:56:08 +04:30
Ebrahim Byagowi
cd5580e2d6
minor, enable printing to stderr in run-tests.py
...
As was originally intended https://github.com/harfbuzz/harfbuzz/blob/3ce6c7b/test/shaping/run-tests.sh
2020-05-28 23:43:58 +04:30
Ebrahim Byagowi
7554f618ec
minor, use sys.exit print shorthand
2020-05-28 23:34:37 +04:30
Ebrahim Byagowi
03564fd2cf
[test] fix misspell
2020-03-14 20:09:00 +03:30
Ebrahim Byagowi
1b8a37f75f
[test] minor fix
...
oops...
2020-03-14 20:06:41 +03:30
Ebrahim Byagowi
0423da3373
[test] minor fix
...
macos tests are using absolute path which aren't relevant in Windows
2020-03-14 20:05:23 +03:30
Ebrahim Byagowi
74fdd34f4d
[test] make run-tests.py work on Windows
2020-03-14 20:03:14 +03:30
Chun-wei Fan
da95a8c239
Shaping tests: Skip FreeType tests if support not present
...
HarfBuzz could have been built without FreeType, so we skip the test
when hb-shape reports that the font function `ft' is unknown
2020-03-13 14:30:17 +03:30
Ebrahim Byagowi
8d19907704
Remove python2 support from tests/utils scripts
2020-02-19 16:17:45 +03:30
Behdad Esfahbod
248ce22857
[tests] Minor
2018-11-24 22:01:06 -05:00
Behdad Esfahbod
ea9512e61a
[tests] Redo test runner logging a bit
2018-11-24 15:49:33 -05:00
Behdad Esfahbod
ee3a3e10d4
[tests/shaping] Allow comments in test files
...
Line should start with "# ".
2018-11-24 15:40:50 -05:00
Ebrahim Byagowi
24887d1115
Add Adobe AOTS tests ( #1395 )
...
Annotated OpenType Specification or aots, https://github.com/adobe-type-tools/aots
provides a set of tests for OpenType specification, this change add those tests in addition
to modified version of their HarfBuzz test runner for generating harfbuzz project specific tests.
2018-11-24 20:07:24 +03:30
Ebrahim Byagowi
341851efe1
[aat] Add macOS specific tests ( #1404 )
2018-11-23 15:40:05 +03:30
Behdad Esfahbod
f928931948
[test] Minor
2018-10-31 18:27:09 -07:00
Behdad Esfahbod
64e41d2c89
[test] Fix Python3
2018-10-30 01:08:34 -07:00
Behdad Esfahbod
422debb830
[test/shaping] Spawn one hb-shape per test file
...
Speeds up runnings in-house tests from over 20s to 2s.
2018-10-30 00:52:22 -07:00
Ebrahim Byagowi
e9abe33963
Use tempfile in run-tests as a fix for Windows CI fails ( #1228 )
2018-10-06 12:19:33 +03:30
Behdad Esfahbod
7b3ae5ffd2
More bot fixes
2018-10-04 16:36:42 +02:00
Behdad Esfahbod
0abce58139
[test] Choose 'ot' shaper specifically
...
Now that we added morx support, our OS X bot is running them through CoreText
and failing (with a DoS / infinite loop no less!). Always run tests through
our own shaper.
2018-10-04 16:23:42 +02:00
Behdad Esfahbod
55468ca01b
[test/text-rendering-tests] Update from upstream
2018-10-04 12:19:30 +02:00
Behdad Esfahbod
9f1dee32fb
[tests] Allow test-runner to ignore shaping output
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1212
2018-10-02 18:56:20 +02:00
Khaled Hosny
b7f1bbc2f8
[test] Fix printing subprocess error messages
...
Decode the string as Python 3 returns bytes string, and also don’t
assume that it ends with a new line.
2018-09-22 17:20:06 +02:00
Ebrahim Byagowi
cab2c2c08c
Make more gen-* scripts py3 compatible ( #940 )
2018-03-29 12:48:47 +04:30
Ebrahim Byagowi
1461965c22
[test] Better tests output by converting stderr to stdout ( #696 )
...
https://gitlab.kitware.com/cmake/cmake/issues/17630
2018-01-11 08:48:22 +03:30
Ebrahim Byagowi
ebb9b7d633
[test] Print shaping output on CI fails ( #695 )
2018-01-11 08:15:06 +03:30
Behdad Esfahbod
7020130665
[test] Minor
2018-01-10 02:50:49 +01:00
Behdad Esfahbod
6b4d63f295
[test] Minor
2018-01-10 02:50:49 +01:00
Behdad Esfahbod
504f913654
[test] Simplify test runner
...
Always pass hb-shape as first argument to run-tests.py.
Also require automake 1.13.
2018-01-10 02:50:49 +01:00
Behdad Esfahbod
141db8b7a3
[test] Minor
2018-01-10 02:50:49 +01:00
Behdad Esfahbod
44c65eee28
[test] Reorganize test suite
...
In anticipation of importing more test suites.
2018-01-10 02:50:49 +01:00
Ebrahim Byagowi
70807ad274
Fix make check issue on out-of-tree builds and test it ( #672 )
2018-01-02 23:52:12 +03:30
Ebrahim Byagowi
4e3cf91af2
[cmake] Run rest of the tests on Windows ( #668 )
2018-01-01 11:17:51 +03:30
Ebrahim Byagowi
2dbdeb1421
[cmake] Run fuzzing and shaping tests ( #666 )
2017-12-29 23:13:29 +03:30
ebraminio
20e69c950d
[test] print commented line, like the original script ( #649 )
2017-12-07 12:24:12 +03:30
ebraminio
5f061d27d5
Rewrite run-tests in python ( #647 )
2017-12-07 11:22:55 +03:30