[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FYI] {micro} tests: new convenience target 'check-parallel'

From: Stefano Lattarini
Subject: [FYI] {micro} tests: new convenience target 'check-parallel'
Date: Fri, 24 May 2013 00:45:46 +0200

To force the test scripts to invoke make in parallel mode.  This should
enhance coverage of use cases (make concurrency) that are becoming more
and more important with today multicore fast machines.

* (check-parallel): New .PHONY target.

Signed-off-by: Stefano Lattarini <address@hidden>
--- | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/ b/
index 602d8ee..15b87c9 100644
--- a/
+++ b/
@@ -524,6 +524,12 @@ check-no-trailing-backslash-in-recipes:
 .PHONY: check-no-trailing-backslash-in-recipes
+# Automake-generated Makefiles should work when run with parallel make.
+       $(AM_V_GEN)$(MAKE) $(AM_MAKEFLAGS) check \
+         AM_TESTSUITE_MAKE="$${AM_TESTSUITE_MAKE-$${MAKE-make}} -j4"
+.PHONY: check-parallel
 ## Checking the list of tests.
 test_subdirs = t t/pm contrib/t
 include $(srcdir)/t/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]