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

darxus at chaosreigns.com darxus at chaosreigns.com
Thu Mar 21 11:30:05 PDT 2013

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 ).

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.

Using cairo from git, commit ed6a293e3dd2e81c8e159bf685cce6ffbcd7c81c
, although I don't expect this is new.  Built a bunch of dependencies
from source.  Running configure as:

./autogen.sh --prefix=$installdir --enable-gl --enable-xcb 

$ echo $SHELL

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 7.0 (wheezy)
Release:        7.0
Codename:       wheezy

"Life is either a daring adventure or it is nothing at all."
- Helen Keller

More information about the cairo mailing list