Things that killed my motivation to play with wayland

Uli Schlachter psychon at znc.in
Fri Jun 14 06:28:42 PDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

On 12.06.2013 02:49, darxus at chaosreigns.com wrote:
[...]
> 3) The state of cairo's build testing, particularly this bug: 
> https://bugs.freedesktop.org/show_bug.cgi?id=62375 Cairo has a huge and
> glorious build test suite.  But it looked very much to me like nobody
> could've gotten it to pass all tests in any subset in years.

I don't think that it will ever be possible to have the test suite succeed for
all tests on e.g. cairo-gl or cairo-xlib, because the results depend too much
on the graphics driver and are too different across different drivers. Also,
AFAIK cairo-pdf/cairo-ps often hit ghostscript bugs. :-(

> psychon was very helpful in tracking down and fixing problems.  This one
> last bug was in the way of me being able to get a full subset of tests to
> pass, so I could automate running them reasonably.

I hope that you can continue (or begin) to automatically run the test suite.
As you say, the cairo test suite is "a little messy", but it would be nice to
find regressions early, because it makes it easier to figure them out.

At the very least, could you write up the approach you came up with?

I remember that I helped with some magic which didn't compare the test results
against the expected results, but instead compared them against the results of
the previous commit. No idea about the details, so it would be nice to be able
to say "here, this mail describes one possible approach".

> The maintainer of cairo, Chris Wilson, included a patch to fix it in a 
> comment to that bug, but we haven't been able to get him to commit it, in
> three months.

I just sent said patch to the cairo mailing list. If no one objects, I will
just push it to fdo next week. Hopefully, Chris will instead show up and
figure out what the right thing is (I guess he has a reason for dumping the
patch into Bugzilla and not into Git, but I don't know that reason).

> (Lots of stuff, including weston and gtk, are heavily dependent on cairo,
> which tends to break.  Which isn't surprising with its unusable build
> tests.  And the fact that the build test instructions specify a method that
> doesn't allow cairo-gl to be tested.)

I don't think cairo breaks a lot. However, experimental backends like cairo-gl
might indeed be a little more, well, experimental... :-)

Cheers,
Uli
- -- 
Bruce Schneier can read and understand Perl programs.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBCAAGBQJRuxqGAAoJECLkKOvLj8sGQ9oH/jLliYJWtp16MjcBt6fxAA4T
kM6QJh7DU+MGiVKajpuvFJNQpiTSt8NETMnuf1roSNwG6WAvCREACwgXGofSmq/X
nhE73cc9PR6+FQC5uKXjA5w4M47ypyTw48UWN4d5aYNEkF3Sq1sVlqWQ+pojbUcm
WTL0MACvqn5fVvUy9kWyI7FLeCuE7G+1ifN5pWaKIJEQZyycSfXQfwu4gJIjN2iL
NaHZOhH1tSDXUVXv/YyBa++yfNtYgNHIqZms/Y3eJnvXgxsIsR9ZbTpIHOTBk9Eu
kLFXj4cR56uwC3Zwx1co95b8bwZywMciiv9IchhGEqS2VVTfNN7yvtc4Wcqb+N8=
=IB55
-----END PGP SIGNATURE-----


More information about the wayland-devel mailing list