[PATCH v4 wayland-protocols] test: add make check
Peter Hutterer
peter.hutterer at who-t.net
Tue Jan 12 20:52:15 PST 2016
On Tue, Jan 12, 2016 at 07:31:05PM +0000, Daniel Stone wrote:
> Hi,
>
> On 12 January 2016 at 19:22, Derek Foreman <derekf at osg.samsung.com> wrote:
> > --- /dev/null
> > +++ b/tests/scan.sh
> > @@ -0,0 +1,10 @@
> > +#!/bin/sh -e
> > +
> > +if [ "x$SCANNER" = "x" ] ; then
> > + echo "No scanner present, test will fail." 1>&2
> > + exit 1
> > +fi
>
> Bikeshed: exit 77 will skip rather than fail.
I'm trying to come up with a use-case where you'd run make check on the
protocol headers but you don't have the scanner available. I can't think of
one.
patch looks good, Acked-by: Peter Hutterer <peter.hutterer at who-t.net>
Cheers,
Peter
More information about the wayland-devel
mailing list