Ebrahim Byagowi
e849b8a85b
[cmake] Always put test/api/CMakeLists.txt on distributions
7 years ago
Ebrahim Byagowi
50163976d2
[cmake] Enable cmake tests on distribution and test it ( #664 )
7 years ago
Khaled Hosny
f19126dd35
We are already inside “if HAVE_GLIB” check
7 years ago
Frédéric Wang
c3fa5d0e03
Remove inexistent file ttx file from test/api/Makefile.am
8 years ago
Behdad Esfahbod
34fc4a2cfa
Fix dist
8 years ago
Behdad Esfahbod
86106c7528
[MATH] Rename all API to hb_ot_math_*
8 years ago
Frédéric Wang
722e620f20
Use G_TEST_DIST to build the path of math test fonts
8 years ago
Behdad Esfahbod
4d3892e9b0
[MATH] Fixups for previous commit
8 years ago
Frédéric Wang
5fbcb992bd
MATH Table: Add API to check availability of math data.
8 years ago
Behdad Esfahbod
fad2674874
Minor
9 years ago
Romain Naour
160f635523
fix static linking with icu-uc
...
When linking test-unicode statically it needs $(ICU_LIBS)
which contains all required flags.
Especially -lstdc++.
Fixes:
http://autobuild.buildroot.net/results/210/2107f9dfb39eeb6559fb4271c7af8b39aef521ca/
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
9 years ago
Behdad Esfahbod
2966d36032
Fix test build
12 years ago
Behdad Esfahbod
d9afa11133
Build hb-icu into libharfbuzz-icu.so
12 years ago
Behdad Esfahbod
0a2b2a505b
Remove gthread leftovers
...
We don't use gthread anymore, remove leftovers.
12 years ago
Behdad Esfahbod
ea11abfc5d
[build] Port to newer automake recommended syntax
12 years ago
Behdad Esfahbod
5898fa94d1
Don't use $(ENV)
...
As reported by Peter Breitenlohner:
I think this is a very bad idea because ENV is used to specify a startup
file to be read by some/all shells.
12 years ago
Behdad Esfahbod
8165f2765b
[tests] Start adding tests for hb-set.h
...
Fails now. Fixing.
12 years ago
Behdad Esfahbod
431bef2e16
Minor build fix
12 years ago
Behdad Esfahbod
66aa080033
Remove test-shape-complex
...
New shaping testsuite and framework coming.
13 years ago
Behdad Esfahbod
4d6dafd47f
Rename test/ to test/api/
13 years ago
Behdad Esfahbod
38b2118724
[API] Add hb_ft_font_set_funcs(), remove hb_ft_get_font_funcs()
...
Remove hb_ft_get_font_funcs() as it cannot be used by the user anyway.
Add hb_ft_font_set_funcs(). Which will make the font internally use
FreeType. That is, no need for the font to have created using the
hb-ft API. Just create using hb_face_create()/hb_font_create() and
then call this on the font (after having set font scale). This
internally creates an FT_Face and attached to the font.
13 years ago
Behdad Esfahbod
c0975e1231
Fix build again
13 years ago
Behdad Esfahbod
f1f848e2e4
Fix build
13 years ago
Behdad Esfahbod
206e329345
[test] test-object is not FreeType-specific, move it to the right place
13 years ago
Behdad Esfahbod
9da554504e
Add hb_shape_list_shapers()
13 years ago
Behdad Esfahbod
0530ca9a18
Fix out-of-tree build
13 years ago
Behdad Esfahbod
4f052b93c0
Fix build with glib but not freetype
13 years ago
Behdad Esfahbod
c21be799da
Minor
13 years ago
Behdad Esfahbod
42d453b023
[test] Name tests after their input string
14 years ago
Behdad Esfahbod
a346e923a9
[test] Add Indic tests from harfbuzz.old
...
Needs fonts to be put in test/fonts. Tests are skipped otherwise.
Run with --verbose for details. Working on improving the test runner
to make it easier to make sense of what's going on.
14 years ago
Behdad Esfahbod
75ba4073ca
[test] Rename valgrind-log to log-vaglring.txt
14 years ago
Behdad Esfahbod
18bced134f
[test] Rename test-symbols to check-symbols
...
Shows undocumented symbols.
14 years ago
Behdad Esfahbod
0e482ec6ba
[test/unicode] Fix double-free
...
Caught by "make check-valgrind".
14 years ago
Behdad Esfahbod
28b1bac541
[test] Switch to automake-based test-runner
...
Adds check-valgrind among other modes. We do not run under gtester by
default anymore.
14 years ago
Behdad Esfahbod
adbc97ddde
[test] Add test-symbols that checks API symbol text coverage
...
We're not at 100% coverage yet, so do not enable the test by default.
14 years ago
Behdad Esfahbod
9313b9aa66
[test/version] Test hb-version.h
14 years ago
Behdad Esfahbod
40b5c2e86c
[test/test-ot-tag] Test hb-ot-tag.h, fix many bugs
...
I'm in awe with how many bugs this test revealed. All fixed.
14 years ago
Behdad Esfahbod
8329eb7c6c
[test/shape] Add simplest test for hb_shape()
14 years ago
Behdad Esfahbod
da603e8038
[test/font] Start adding tests for hb-font.h
14 years ago
Behdad Esfahbod
0c2ec1d78b
[test] Always initialize gthread such that our mutex() stuff is tested
...
Now the test/object test deadlocks as expected. Fix coming.
14 years ago
Behdad Esfahbod
0617b15582
[test] Test blob API
14 years ago
Behdad Esfahbod
c78f448558
[API] Add version macros and functions
...
Step version up to 0.5.0.
Also, fix to pass "make distcheck"
14 years ago
Behdad Esfahbod
db99589529
[test/object] Add test for object lifecycle stuff
...
Revealed many bugs in the (untested and known buggy) user_data
support.
14 years ago
Behdad Esfahbod
aafe395ab5
Add test suite infrastructure
...
Wraps around glib for convenience and ease of use.
14 years ago
Behdad Esfahbod
fb6291d9c9
[test] Add test for headers included from C and C++
14 years ago
Behdad Esfahbod
1fd73b594d
[test] Rename test-types to test-common
14 years ago
Ryan Lortie
2fd0c577e3
[API] unicode: rework virtual functions for subclassing
...
Unicode data providers can now be subclassed, including support for
chain-up. The interface should now be nicely bindable, as well.
Also fix glib unicode funcs that where broken after hb_script_t
changes. Nicely caught by the test-unicode.c added in this commit.
14 years ago
Behdad Esfahbod
d0f53fdbea
[test] Test hb-buffer.h
14 years ago
Behdad Esfahbod
02f6e62d6c
Build fix
14 years ago
Behdad Esfahbod
9faa980067
Add an in-tree test suite
...
Uses the glib testing framework. Wrote unit tests for hb-common.h
types.
14 years ago