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

Peter Hutterer peter.hutterer at who-t.net
Thu Mar 27 21:38:48 PDT 2014


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.

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



More information about the wayland-devel mailing list