[cairo] Testsuite changes this week
Bryce Harrington
bryce at osg.samsung.com
Wed Sep 17 13:43:15 PDT 2014
On Tue, Sep 16, 2014 at 09:14:07AM +0200, Uli Schlachter wrote:
> Hi & thanks for running these weekly tests,
>
> Am 16.09.2014 um 08:49 schrieb Bryce Harrington:
> > git git git git git git
> > 05/03 06/09 07/21 08/04 08/29 09/12
> > -------------------------------------------------------------------
> > Tests run: 24838 24813 24839 24838 24838 24838
> > Passed: 15774 16015 16024 15889 15989 15808
> > Failed: 6476 6226 6228 6372 6272 6451
> > Expected Failed: 332 315 332 332 332 332
> > Error: 1 1 0 0 0 0
> > Crashed: 32 33 32 22 22 24
> > Untested: 2223 2223 2223 2223 2223 2223
> > Total: 24838 24813 24839 24838 24838 24838
> >
> > Here's the tests that changed results since the previous run:
> >
> > http://www.bryceharrington.org/Cairo/changes-20140829-to-20140912-trent.txt
> >
> > 102 xcb and 70 xlib tests failed here, including a bunch of
> > *twin-antialias-* tests. Anyone have ideas on these?
>
> There weren't many changes to cairo-xcb and git bisect confirms:
>
> e691d242d592a8556e25659fb091a2031abee4c9 is the first bad commit
> commit e691d242d592a8556e25659fb091a2031abee4c9
> Author: Lukáš Lalinský <lukas at oxygene.sk>
> Date: Wed Sep 3 22:53:55 2014 +0200
>
> xcb: Initialize font options from Xft resources
>
> There is a similar code in the Xlib backend. The logic here is the same, but
> XCB doesn't support X resources directly, so there is some custom code
> to get and parse the resources from the root window.
>
> Signed-off-by: Lukáš Lalinský <lukas at oxygene.sk>
> Reviewed-by: Uli Schlachter <psychon at znc.in>
>
> The attached patch makes these tests pass again. Both hunks are required. The
> first one fixes a shameful oversight (whoops), the second one effectively
> reverts the above patch, which is not what we want.
>
> Something is merging font options wrongly? Why does this code work for
> cairo-xlib? I don't know...
>
> For the xlib backend: Are you running with --enable-xlib-xcb? Aka "are you
> testing xlib at all?".
Yes. I've attached the script I run, that has the build options I am
using. Would appreciate a sanity check.
> Not much time right now (or in the near future), so can't look too closely into this
Thanks, based on Lukas' feedback sounds like we should disable it until
folks have time to investigate. I'll push that change today.
Uli, btw, when you have a few minutes, I'd like to get your quick input
on a few of our milestoned bugs that have patches - see:
https://bugs.freedesktop.org/show_bug.cgi?id=68382
Also, in the interest of getting 1.14 done sooner rather than later, I
flagged four bugs I think we could postpone, but would like a second
opinion. Oh, and did we ever get a firm decision about whether the next
release would be numbered as 1.14.0 or 1.12.18?
Bryce
> Cheers,
> Uli
> --
> “I’m Olaf and I like warm hugs.”
> [0;34mdiff --git a/src/cairo-xcb-screen.c b/src/cairo-xcb-screen.c[0;0m
> [0;0mindex 30295af..537e447 100644[0;0m
> [0;32m--- a/src/cairo-xcb-screen.c[0;0m
> [1;32m+++ b/src/cairo-xcb-screen.c[0;0m
> [1;34m@@ -242,6 +242,7 @@ _cairo_xcb_screen_get (xcb_connection_t *xcb_connection,[0;0m
> [0;0m [0;0m
> [0;0m screen->connection = connection;[0;0m
> [0;0m screen->xcb_screen = xcb_screen;[0;0m
> [1;32m+ screen->has_font_options = FALSE;[0;0m
> [0;0m [0;0m
> [0;0m _cairo_freelist_init (&screen->pattern_cache_entry_freelist,[0;0m
> [0;0m sizeof (struct pattern_cache_entry));[0;0m
> [1;34m@@ -460,7 +461,7 @@ _cairo_xcb_screen_get_font_options (cairo_xcb_screen_t *screen)[0;0m
> [0;0m _cairo_font_options_init_default (&screen->font_options);[0;0m
> [0;0m _cairo_font_options_set_round_glyph_positions (&screen->font_options, CAIRO_ROUND_GLYPH_POS_ON);[0;0m
> [0;0m [0;0m
> [0;32m- if (! _cairo_xcb_connection_acquire (screen->connection)) {[0;0m
> [1;32m+ if (0 && ! _cairo_xcb_connection_acquire (screen->connection)) {[0;0m
> [0;0m _cairo_xcb_init_screen_font_options (screen);[0;0m
> [0;0m _cairo_xcb_connection_release (screen->connection);[0;0m
> [0;0m }[0;0m
More information about the cairo
mailing list