harfbuzz/test/api
Mike Hommey 1c98ff87c7 Support building with older glib versions
It is desirable to be able to build against older versions of glib.

fd7a245 changed the configure check to require glib > 2.38 for
G_TEST_DIST. Before that, version 2.16 was required, but in fact,
since aafe395, G_PASTE is being used, which was introduced in 2.19.1.
And since 0ef179e2, hb-glib uses GBytes, which were introduced in
2.31.10.

2.19.1 is rather old, but 2.38 is rather new. For Firefox, building
against 2.22 is still supported, although we could probably get away
with bumping that to 2.28. Either way, GBytes is not available.

Arguably, if you build against a glib that doesn't support GBytes,
you're not going to use the hb_glib_blob_create function, so we hide
the function when building against such a glib.

As for G_TEST_DIST, when building against versions of glib that don't
support it, we can fallback to the previous behavior, which, AIUI, was
just making the test not work when building in a separate directory.
2016-12-18 01:37:07 -06:00
..
fonts MATH table: Add API to access math variants. 2016-09-26 15:18:16 +01:00
.valgrind-suppressions Move valgrind suppressions to the correct directory 2013-03-06 20:20:45 -05:00
Makefile.am Remove inexistent file ttx file from test/api/Makefile.am 2016-10-24 21:42:04 +02:00
hb-test.h Remove gthread leftovers 2013-03-21 16:26:39 -04:00
test-blob.c Fail blob creation if length overflows or is too large 2014-12-18 18:22:21 -08:00
test-buffer.c API: Do not clear buffer-flags in hb_buffer_clear_contents() 2014-08-11 18:40:01 -04:00
test-c.c Minor 2013-05-28 15:25:06 -04:00
test-common.c Add HB_DIRECTION_IS_VALID 2012-04-14 19:19:26 -04:00
test-cplusplus.cc Rename test/ to test/api/ 2012-01-19 14:52:02 -05:00
test-font.c Separate nil font-funcs from parent-peeking font-funcs 2015-11-04 20:22:44 -08:00
test-object.c [test] Fix test-object 2015-08-30 17:33:04 +01:00
test-ot-math.c Support building with older glib versions 2016-12-18 01:37:07 -06:00
test-ot-tag.c Support Americanist Phonetic Notation 2016-08-18 14:13:26 +02:00
test-set.c check hb_set_is_emtpy in test-set.c 2014-02-10 13:48:43 -05:00
test-shape.c [test] Pass closure to hb_font_set_glyph_func() 2016-02-25 11:20:05 +09:00
test-unicode.c Clean up list of Unicode scripts 2013-08-09 14:36:18 -04:00
test-version.c Rename HB_VERSION_CHECK and hb_version_check to "atleast" 2014-06-20 14:09:57 -04:00