[cairo] Script to pass xcb image and image16 tests with regenerated references Re: What does it take to get a make check to pass with the xcb target, using CAIRO_REF_DIR?

darxus at chaosreigns.com darxus at chaosreigns.com
Fri Jul 22 02:16:09 UTC 2016


Takes 29 minutes to run.  You could run the first make test to generate
the updated references, modify the source, then run the second make test to
verify your changes didn't break any tests:


#!/bin/bash

set -o xtrace # show commands as executed
MAKEFLAGS=''

Xvfb -screen 0 1680x1024x24 -ac -nolisten tcp :2 &

git clean -xfd
./autogen.sh --prefix=$HOME/install --enable-xcb
make
DISPLAY=:2 CAIRO_TEST_TARGET=xcb,image,image16 make test
cp -a test/output/ $HOME/source/cairo-ref.xcb-image.xvfb.1

git clean -xfd
./autogen.sh --prefix=$HOME/install --enable-xcb
make
DISPLAY=:2 CAIRO_REF_DIR=$HOME/source/cairo-ref.xcb-image.xvfb.1 CAIRO_TEST_TARGET=xcb,image,image16 make test
cp -a test/output/ $HOME/source/cairo-ref.xcb-image.xvfb.2


More information about the cairo mailing list