tests: parallelise 'make valgrind'
authorTim-Philipp Müller <tim@centricular.com>
Thu, 25 Sep 2014 18:01:52 +0000 (19:01 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 25 Sep 2014 18:01:52 +0000 (19:01 +0100)
Use $(MAKE) instead of 'make' inside the Makefile,
otherwise the make will run as if -j1 had been
specified and complain about the job server not
being available, and with $(MAKE) in inherits the
parent make's settings it seems.

Upgrade common submodule for parallel check-valgrind.

Let this settle a bit before upgrading the other modules.

Makefile.am
common

index 823c4cb..ca6071d 100644 (file)
@@ -85,13 +85,13 @@ endif
 
 if HAVE_CHECK
 check-valgrind:
-       cd tests/check && make check-valgrind
+       $(MAKE) -C tests/check check-valgrind
 
 check-torture:
-       cd tests/check && make torture
+       $(MAKE) -C tests/check torture
 
 build-checks:
-       cd tests/check && make build-checks
+       $(MAKE) -C tests/check build-checks
 else
 check-valgrind:
        echo "'check' library not installed, skipping"
diff --git a/common b/common
index 36388a1..6e75498 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 36388a18d37d72f9633bf1a8c06d18d310d215bb
+Subproject commit 6e754981c5e37a79e35dce01ce0130d5f1eff212