[HarfBuzz] [PATCH] Adding a configure flag to disable building of tests
Tom Hacohen
tom.hacohen at partner.samsung.com
Wed Jul 20 02:40:40 PDT 2011
Dear all,
Currently, the testing code depends on g_test_fail which was only
introduced in glib 2.30. This means that the harfbuzz build now depends
on glib 2.30 was is not necessary for regular harfbuzz.
One solution, would be checking the existence of this function or
checking that the glib version is new enough, and only then build the
testing code. I opted for the more specific solution - letting people
disable building the tests.
Many people don't care about the tests anyway, so allowing to disable
them is probably a good idea anyway.
Currently, just to keep behaviour, I made test building on by default
(tbh, I think it should be off by default) and people can disable them
using --disable-tests.
Attached is a patch to implement the described behaviour.
--
Tom.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-disable-tests-for-disabling-building-of-tests.patch
Type: text/x-patch
Size: 1369 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20110720/fef516e3/attachment.bin>
More information about the HarfBuzz
mailing list