[HarfBuzz] [PATCH] Adding a configure flag to disable building of tests
tom.hacohen at partner.samsung.com
Wed Jul 20 02:40:40 PDT 2011
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
Attached is a patch to implement the described behaviour.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1369 bytes
Desc: not available
More information about the HarfBuzz