[cairo] How do I run tests on most of the cairo backends?

Uli Schlachter psychon at znc.in
Fri Mar 22 06:18:19 PDT 2013


Hi,

On 21.03.2013 19:30, darxus at chaosreigns.com wrote:
> I'm trying to run make test on all backends but ps2
> and ps3 (because of the infinite memory use bug:
> https://bugs.freedesktop.org/show_bug.cgi?id=61280 ).

Why don't you just pass --disable-ps to ./configure?

> This works (fails some tests, but basically works), over ssh:
> 
> $ DISPLAY=:0 CAIRO_TEST_TARGET=image make test
> 
> Immediately afterward, I try running this:
> 
> $ DISPLAY=:0 CAIRO_TEST_TARGET=image,script,gl,gl-window,gl-window-msaa,gl-window,egl,xcb,xcb-window,xcb-window,xcb-render-0.0,xcb-fallback,xlib,xlib-window,xlib-render-0_0,xlib-fallback,image16,recording make test
> 
> And get this:
> 
> Cannot find target 'image'.
> Known targets: ps2, ps3, script, gl, gl-window, gl-window-msaa, gl-window&, egl, xcb, xcb-window, xcb-window&, xcb-render-0.0, xcb-fallback, xlib, xlib-window, xlib-render-0_0, xlib-fallback, image, image16, recording
> 
> 
> I even copied and pasted "image" from the first successful command to
> the second unsuccessful command.
[...]

Wow. Seems like we really need a test suite for this test suite. There are two
problems which both boil down to "xcb-render-0.0 contains a dot". After fixing
the first one, cairo-test-suite now reports that it can't find "xcb-render-0"
and the second one renamed xcb-render-0.0 to xcb-render-0_0.

Thanks for reporting this.

Cheers,
Uli
-- 
- Buck, when, exactly, did you lose your mind?
- Three months ago. I woke up one morning married to a pineapple.
  An ugly pineapple... But I loved her.


More information about the cairo mailing list