[PATCH libinput 5/9] test: disable parallel build in test directory
Jonas Ådahl
jadahl at gmail.com
Tue Apr 8 12:55:30 PDT 2014
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.
Jonas
[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