[cairo] Issues with cairo tests

Frederic Crozat fcrozat at mandriva.com
Tue Dec 12 06:21:02 PST 2006


Hi,

thanks to Mandriva new build system for our packages, I discovered two
issues in cairo 1.3.6 (they are probably also present in 1.2.x) :

-tests are assuming Bitstream Vera is present on the system : it might
not be and thanks (or in this case, not thanks) to fontconfig font
selection, tests will not notice that and will fail. I'm wondering if a
copy of the font should be included with tests (but I'm not sure
bitstream vera license is ok for this) or to check if when asking for
Bitstream Vera Sans, fontconfig is really returning Bitstream Vera Sans.

-pthread test asserts when build for the first time and works if
restarted after :

make check TESTS="pthread-show-text"

....


creating pthread-show-text

TESTING pthread-show-text
lt-pthread-show-text: cairo-ft-font.c:562:
_cairo_ft_unscaled_font_unlock_face: Assertion `unscaled->lock > 0'
failed.
/bin/sh: line 4: 10110 Aborted
CAIRO_XFAIL_TESTS="a8-mask big-trap extend-reflect filter-nearest-offset
ft-text-vertical-layout-type1 ft-text-vertical-layout-type3 leaky-dash
long-lines self-intersecting text-rotate" CAIRO_TEST_TARGET=""
${dir}$tst
FAIL: pthread-show-text

-- 
Frederic Crozat <fcrozat at mandriva.com>
Mandriva



More information about the cairo mailing list