[cairo] get-clip-svg-* test failures

Frederic Crozat fcrozat at mandriva.com
Mon Oct 2 01:03:21 PDT 2006


Le samedi 30 septembre 2006 à 14:59 -0700, Bryce Harrington a écrit :
> On Fri, Sep 29, 2006 at 08:27:28PM -0700, Mike Emmel wrote:
> > On 9/29/06, Bryce Harrington <bryce at osdl.org> wrote:
> > >On Fri, Sep 29, 2006 at 04:07:35PM -0700, Carl Worth wrote:
> > >> In order to test cairo's xlib backend, then yes, it needs to be able
> > >> to talk to an X server. The "failed to open display" errors explain
> > >> the gray UNTESTED xlib column you are getting in your results.
> > >
> > >What approach would you recommend to run X on a headless box?  Or would
> > >it be worth the effort to set up?
> > >
> > 
> > Virtual fb driver with the framebuffer backend is pretty easy. IMHO
> 
> Can you provide a pointer with directions on how to do this?

It is very easy. We are using some hacks in our rpm generation when X is
required like this :

XDISPLAY=$(i=1; while [ -f /tmp/.X$i-lock ]; do i=$(($i+1)); done; echo
$i)
Xvfb :$XDISPLAY &

then you do what need X server

and then

kill $(cat /tmp/.X$XDISPLAY-lock)

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



More information about the cairo mailing list