[cairo] Issues with cairo tests

Jim Gettys jg at laptop.org
Wed Dec 13 12:32:42 PST 2006


Vera's license is perfectly happy with this.

For repeatable results, using a known version of a known font seems
wise.
                             - JIm


On Tue, 2006-12-12 at 15:21 +0100, Frederic Crozat wrote:
> 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
> 
-- 
Jim Gettys
One Laptop Per Child




More information about the cairo mailing list