From e557357fdbf58676bf0a0b1567cbf09ad37feaab Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Thu, 31 Mar 2016 11:17:01 +0200 Subject: [PATCH 1/2] AUTOMAKE: Force usage of parallel test harness Parallel test harness[1] is enabled by default with new versions of automake. However, automake on rhel6 (1.11.1-4) still uses serial test harness by default even though it also contains parallel test harness. Downside of serial test is that output of all test are mixed together and is not in separate log files as with parallel test harness. Another problem is slow execution test with valgrind due to missing parallelisation. It's approximately 4-5 minutes slower on machine with 4 CPUs. The automake option parallel-tests is kept for backward-compatibility in new versions of automake, since the parallel test harness is the default there. [1] http://www.gnu.org/software/automake/manual/html_node/Parallel-Test-Harness.html#Parallel-Test-Harness [2] http://www.gnu.org/software/automake/manual/html_node/Serial-Test-Harness.html#Serial-Test-Harness --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 2c36049ca04f57fe94f359c5dc19a506dd2b9388..b4ba366d7a32a45879e9f2e9b6e84256a3ac7235 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,8 @@ m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" -AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign subdir-objects tar-pax]) +AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign subdir-objects tar-pax + parallel-tests]) AM_PROG_CC_C_O m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) AC_DISABLE_STATIC -- 2.7.3