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?
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
--
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.