[cairo] 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
Mon Jun 27 04:07:27 UTC 2016


On 06/26, Uli Schlachter wrote:
> Am 24.06.2016 um 00:26 schrieb darxus at chaosreigns.com:
> > Xvfb :3 &
> 
> I don't know what the default screen size for Xvfb is, but I suggest to also add
> "-screen 0 1280x1024x24" as an argument. Instead of a bit depth of 8 (just 256
> colors!), you will then get something useful instead. This will possibly also
> fix most (all?) of your problems.

Thank you, that helped a lot.  With the xcb target, I have 7 FAILs left
(when using a fresh CAIRO_REF_DIR, and 24 bit Xvfb).  Any ideas why these
are failing?

Testing record1414x-paint-alpha-clip-mask with xcb target (dev offset 0 scale: 1)
8 pixels differ (with maximum difference of 32) from reference image
8 pixels differ (with maximum difference of 32) from reference image
OUTPUT: output/record1414x-paint-alpha-clip-mask.xcb.argb32.out.png
REFERENCE: /home/darxus/source/cairo-ref.xcb.xvfb.1/record1414x-paint-alpha-clip-mask.xcb.argb32.out.png
DIFFERENCE: output/record1414x-paint-alpha-clip-mask.xcb.argb32.diff.png
TEST: record1414x-paint-alpha-clip-mask TARGET: xcb FORMAT: argb32 OFFSET: 0 SCALE: 1 SIMILAR: 0 RESULT: FAIL
Testing record1414x-paint-alpha-clip-mask with xcb target (dev offset 0 scale: 1)
8 pixels differ (with maximum difference of 49) from reference image
8 pixels differ (with maximum difference of 49) from reference image
OUTPUT: output/record1414x-paint-alpha-clip-mask.xcb.rgb24.out.png
REFERENCE: /home/darxus/source/cairo-ref.xcb.xvfb.1/record1414x-paint-alpha-clip-mask.xcb.rgb24.out.png
DIFFERENCE: output/record1414x-paint-alpha-clip-mask.xcb.rgb24.diff.png
TEST: record1414x-paint-alpha-clip-mask TARGET: xcb FORMAT: rgb24 OFFSET: 0 SCALE: 1 SIMILAR: 0 RESULT: FAIL

Testing record2x-paint-alpha-clip-mask with xcb target (dev offset 0 scale: 1)
9 pixels differ (with maximum difference of 59) from reference image
9 pixels differ (with maximum difference of 59) from reference image
OUTPUT: output/record2x-paint-alpha-clip-mask.xcb.argb32.out.png
REFERENCE: /home/darxus/source/cairo-ref.xcb.xvfb.1/record2x-paint-alpha-clip-mask.xcb.argb32.out.png
DIFFERENCE: output/record2x-paint-alpha-clip-mask.xcb.argb32.diff.png
TEST: record2x-paint-alpha-clip-mask TARGET: xcb FORMAT: argb32 OFFSET: 0 SCALE: 1 SIMILAR: 0 RESULT: FAIL
Testing record2x-paint-alpha-clip-mask with xcb target (dev offset 0 scale: 1)
6 pixels differ (with maximum difference of 56) from reference image
6 pixels differ (with maximum difference of 56) from reference image
OUTPUT: output/record2x-paint-alpha-clip-mask.xcb.rgb24.out.png
REFERENCE: /home/darxus/source/cairo-ref.xcb.xvfb.1/record2x-paint-alpha-clip-mask.xcb.rgb24.out.png
DIFFERENCE: output/record2x-paint-alpha-clip-mask.xcb.rgb24.diff.png
TEST: record2x-paint-alpha-clip-mask TARGET: xcb FORMAT: rgb24 OFFSET: 0 SCALE: 1 SIMILAR: 0 RESULT: FAIL

Testing record2x-paint-alpha-clip-mask with xcb-window& target (dev offset 0 scale: 1)
4 pixels differ (with maximum difference of 29) from reference image
4 pixels differ (with maximum difference of 29) from reference image
OUTPUT: output/record2x-paint-alpha-clip-mask.xcb-window&.rgb24.out.png
REFERENCE: /home/darxus/source/cairo-ref.xcb.xvfb.1/record2x-paint-alpha-clip-mask.xcb-window&.rgb24.out.png
DIFFERENCE: output/record2x-paint-alpha-clip-mask.xcb-window&.rgb24.diff.png
TEST: record2x-paint-alpha-clip-mask TARGET: xcb-window& FORMAT: rgb24 OFFSET: 0 SCALE: 1 SIMILAR: 0 RESULT: FAIL

Testing record90-paint-alpha-clip-mask with xcb-window& target (dev offset 0 scale: 1)
4 pixels differ (with maximum difference of 57) from reference image
4 pixels differ (with maximum difference of 57) from reference image
OUTPUT: output/record90-paint-alpha-clip-mask.xcb-window&.rgb24.out.png
REFERENCE: /home/darxus/source/cairo-ref.xcb.xvfb.1/record90-paint-alpha-clip-mask.xcb-window&.rgb24.out.png
DIFFERENCE: output/record90-paint-alpha-clip-mask.xcb-window&.rgb24.diff.png
TEST: record90-paint-alpha-clip-mask TARGET: xcb-window& FORMAT: rgb24 OFFSET: 0 SCALE: 1 SIMILAR: 0 RESULT: FAIL

Testing record-paint-alpha-clip-mask with xcb-window target (dev offset 0 scale: 1)
4 pixels differ (with maximum difference of 34) from reference image
4 pixels differ (with maximum difference of 34) from reference image
OUTPUT: output/record-paint-alpha-clip-mask.xcb-window.rgb24.out.png
REFERENCE: /home/darxus/source/cairo-ref.xcb.xvfb.1/record-paint-alpha-clip-mask.xcb-window.rgb24.out.png
DIFFERENCE: output/record-paint-alpha-clip-mask.xcb-window.rgb24.diff.png
TEST: record-paint-alpha-clip-mask TARGET: xcb-window FORMAT: rgb24 OFFSET: 0 SCALE: 1 SIMILAR: 0 RESULT: FAIL



Script I ran:


Xvfb -screen 0 1280x1024x24 :3 &

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

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


More information about the cairo mailing list