Behdad Esfahbod
fc9e6ae8d9
[run-tests.py] Write out the failing test
2 years ago
Behdad Esfahbod
33145a4b75
[test/shape] Pass --unsafe-to-concat to hb-shape
2 years ago
Khaled Hosny
f76ffa8374
[build] Change how platform shaper tests are enable
...
Run the tests unconditionally and skip if the shaper is not available.
This fixes distcheck (https://github.com/harfbuzz/harfbuzz/pull/3504 )
and shows SKIP for these tests instead of ignoring them.
3 years ago
Behdad Esfahbod
e0d7060f80
[test] Rename shaping/ to shape/
3 years ago
Behdad Esfahbod
f3acb977ec
[test/shaping;util] Use ';' instead of ':' to separate test fields
...
Accept that in --batch mode. Also in batch mode don't send the 0th arg.
Related discussion: https://github.com/harfbuzz/harfbuzz/pull/3102
3 years ago
Khaled Hosny
1fd3a261e5
[test] Remove unused shaping tests reference mode
3 years ago
Khaled Hosny
e65bf60500
[test] make this test runner less verbose
...
Print the command being called once and in a way the can be manually
run.
3 years ago
Behdad Esfahbod
15f3ef0136
[test] Fix output format
4 years ago
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.
4 years ago
Khaled Hosny
5091ea7e24
Merge pull request #2733 from astiob/buffer-context-doc
...
[docs] Describe buffer context applicability more explicitly
4 years ago
Ebrahim Byagowi
ba810ce83d
[tests] Replace space with colon in batch mode
4 years ago
Ebrahim Byagowi
2013babcbf
[tests] Use HAVE_FREETYPE itself instead NO_FT_FUNCS
4 years ago
Ebrahim Byagowi
4db1b4f1a2
[tests] rename no_ft_funcs to NO_FT_FUNCS
4 years ago
Ebrahim Byagowi
43e3ab019c
[tests] make tests work when ft isn't present
4 years ago
Ebrahim Byagowi
c4b6bad73a
[tests] revert da95a8c
and use the shared hb-shape process
4 years ago
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
5 years ago
Ebrahim Byagowi
7554f618ec
minor, use sys.exit print shorthand
5 years ago
Ebrahim Byagowi
03564fd2cf
[test] fix misspell
5 years ago
Ebrahim Byagowi
1b8a37f75f
[test] minor fix
...
oops...
5 years ago
Ebrahim Byagowi
0423da3373
[test] minor fix
...
macos tests are using absolute path which aren't relevant in Windows
5 years ago
Ebrahim Byagowi
74fdd34f4d
[test] make run-tests.py work on Windows
5 years ago
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
5 years ago
Ebrahim Byagowi
8d19907704
Remove python2 support from tests/utils scripts
5 years ago
Behdad Esfahbod
248ce22857
[tests] Minor
6 years ago
Behdad Esfahbod
ea9512e61a
[tests] Redo test runner logging a bit
6 years ago
Behdad Esfahbod
ee3a3e10d4
[tests/shaping] Allow comments in test files
...
Line should start with "# ".
6 years ago
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.
6 years ago
Ebrahim Byagowi
341851efe1
[aat] Add macOS specific tests ( #1404 )
6 years ago
Behdad Esfahbod
f928931948
[test] Minor
6 years ago
Behdad Esfahbod
64e41d2c89
[test] Fix Python3
6 years ago
Behdad Esfahbod
422debb830
[test/shaping] Spawn one hb-shape per test file
...
Speeds up runnings in-house tests from over 20s to 2s.
6 years ago
Michiharu Ariza
55942ad5c1
Merge branch 'master' into cff-subset
6 years ago
Ebrahim Byagowi
e9abe33963
Use tempfile in run-tests as a fix for Windows CI fails ( #1228 )
6 years ago
Behdad Esfahbod
7b3ae5ffd2
More bot fixes
6 years ago
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.
6 years ago
Behdad Esfahbod
55468ca01b
[test/text-rendering-tests] Update from upstream
6 years ago
Behdad Esfahbod
9f1dee32fb
[tests] Allow test-runner to ignore shaping output
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1212
6 years ago
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.
6 years ago
Ebrahim Byagowi
cab2c2c08c
Make more gen-* scripts py3 compatible ( #940 )
7 years ago
Ebrahim Byagowi
1461965c22
[test] Better tests output by converting stderr to stdout ( #696 )
...
https://gitlab.kitware.com/cmake/cmake/issues/17630
7 years ago
Ebrahim Byagowi
ebb9b7d633
[test] Print shaping output on CI fails ( #695 )
7 years ago
Behdad Esfahbod
7020130665
[test] Minor
7 years ago
Behdad Esfahbod
6b4d63f295
[test] Minor
7 years ago
Behdad Esfahbod
504f913654
[test] Simplify test runner
...
Always pass hb-shape as first argument to run-tests.py.
Also require automake 1.13.
7 years ago
Behdad Esfahbod
141db8b7a3
[test] Minor
7 years ago
Behdad Esfahbod
44c65eee28
[test] Reorganize test suite
...
In anticipation of importing more test suites.
7 years ago
Ebrahim Byagowi
70807ad274
Fix make check issue on out-of-tree builds and test it ( #672 )
7 years ago
Ebrahim Byagowi
4e3cf91af2
[cmake] Run rest of the tests on Windows ( #668 )
7 years ago
Ebrahim Byagowi
2dbdeb1421
[cmake] Run fuzzing and shaping tests ( #666 )
7 years ago
ebraminio
20e69c950d
[test] print commented line, like the original script ( #649 )
7 years ago