Wayland integration tests

Eoff, Ullysses A ullysses.a.eoff at intel.com
Wed Oct 30 18:50:07 CET 2013

> -----Original Message-----
> From: wayland-devel-bounces at lists.freedesktop.org [mailto:wayland-devel-bounces at lists.freedesktop.org] On Behalf Of Kristian
> Høgsberg
> Sent: Wednesday, October 30, 2013 8:48 AM
> To: Marek Ch
> Cc: wayland-devel at lists.freedesktop.org
> Subject: Re: Wayland integration tests
> On Wed, Oct 30, 2013 at 08:33:21AM +0100, Marek Ch wrote:
> > Hi,
> >
> > I've been recently writing a simple test framework and tests for wayland
> > protocol. It should focus on testing display<->client interaction.
> > The framework contains functions for creating wayland display, one client's
> > process and a few functions for communication between them (client can ask
> > for emitting an event, or wait until display creates some object and
> > similar)
> > The tests are included in test/ folder but are not very complex yet.
> >
> > Here's the link: https://github.com/mchalupa/wayland-integration-tests
> > I appreciate any comments :)

"assread(...)" and "asswrite(...)" are not clever function names ;-)

> This is very similar to what we're trying to do in weston tests/.  Did
> you consider just building out the current weston in-tree test suite?

I think it's a little more "generic", though.   This test suite doesn't have dependencies
on any particular compositor implementation (except for the internal "mock"
server and client).  Also, it appears it is completely independent of any particular
"graphics" layers (??).
Although it's an integration test suite, it feels like just one step beyond "unit"
testing for the core wayland protocols (which is not a bad thing).  I think this
suite would be a nice addition to the current test framework in the "wayland"
source tree rather than a standalone project.  Adding it to the wayland tree
would certainly encourage developers and testers to adopt and use it more
and provide a nice framework for "generic" client<->server protocol testing.
Would you be willing to entertain the idea of adding it to wayland?

U. Artie
> Kristian

> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel

More information about the wayland-devel mailing list