[PATCH libinput 5/9] test: disable parallel build in test directory

Peter Hutterer peter.hutterer at who-t.net
Tue Apr 8 17:13:42 PDT 2014


On Tue, Apr 08, 2014 at 09:55:30PM +0200, Jonas Ådahl wrote:
> On Fri, Mar 28, 2014 at 02:38:48PM +1000, Peter Hutterer wrote:
> > We depend on device creation on the host system, having the tests run in
> > parallel runs a risk of random failure.
> > 
> > Ideally we'd just disable for the actual run target, but I couldn't figure out
> > how to do that.
> 
> What about the .NOTPARALLEL label? I haven't tried it but according to
> the manual[0] it sounds like it does just that.

oh, nice. thanks. I was looking for something like that and just couldn't
find it (admittedly I was looking in the automake manuals). I'll test this
and fix up the patch accordingly.

Cheers,
   Peter

> 
> [0] https://www.gnu.org/software/make/manual/html_node/Special-Targets.html
> 
> > 
> > Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> > ---
> >  test/Makefile.am | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/test/Makefile.am b/test/Makefile.am
> > index b59d4a9..9b71511 100644
> > --- a/test/Makefile.am
> > +++ b/test/Makefile.am
> > @@ -1,4 +1,6 @@
> >  if BUILD_TESTS
> > +# Disable parallel build, running tests in parallel will screw things up
> > +AM_MAKEFLAGS = -j1
> >  AM_CPPFLAGS = -I$(top_srcdir)/src $(CHECK_CFLAGS) $(LIBEVDEV_CFLAGS)
> >  
> >  TEST_LIBS = liblitest.la $(CHECK_LIBS) $(LIBUDEV_LIBS) $(LIBEVDEV_LIBS) $(top_builddir)/src/libinput.la -lm
> > -- 
> > 1.8.5.3
> > 
> > _______________________________________________
> > 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