bug-gnu-utils
[Top][All Lists]
Advanced

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

[PATCH] tests: enable Automake parallel testsuite harness


From: Stefano Lattarini
Subject: [PATCH] tests: enable Automake parallel testsuite harness
Date: Sat, 29 Dec 2012 18:58:46 +0100

It is better than the older test driver.  It is also the default now,
starting from Automake 1.13; so having it enabled unconditionally will
allow GNU sed to be seamlessly bootstrapped by Automake 1.13.

* configure.ac (AM_INIT_AUTOMAKE): Add 'parallel-tests' option.  Also
require Automake 1.11.1, since that is the minimal version to have a
sane 'parallel-tests' support.
(AC_PREREQ): Bump requirement to 2.62, since that is the minimal
version required by Automake 1.11.1.
* testsuite/Makefile.am (TESTS_ENVIRONMENT): Remove the invocation
for the test runner "$(srcdir)/runtest"; it's correct place is ...
(LOG_COMPILER): ... here.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 ChangeLog             | 17 +++++++++++++++++
 configure.ac          |  4 ++--
 testsuite/Makefile.am |  3 ++-
 3 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e0b36b4..a4a3bb9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,22 @@
 2012-12-29  Stefano Lattarini  <address@hidden>  (tiny change)
 
+       maint: enable Automake parallel testsuite harness
+       It is better than the older test driver.  It is also the
+       default now, starting from Automake 1.13; so having it
+       enabled unconditionally will allow GNU sed to be seamlessly
+       bootstrapped by Automake 1.13.
+       * configure.ac (AM_INIT_AUTOMAKE): Add 'parallel-tests' option.
+       Also require Automake 1.11.1, since that is the minimal version
+       to have a sane 'parallel-tests' support.
+       (AC_PREREQ): Bump requirement to 2.62, since that is the
+       minimal version required by Automake 1.11.1.
+       * testsuite/Makefile.am (TESTS_ENVIRONMENT): Remove the
+       invocation for the test runner "$(srcdir)/runtest"; it's
+       correct place is ...
+       (LOG_COMPILER): ... here.
+
+2012-12-29  Stefano Lattarini  <address@hidden>  (tiny change)
+
        build: avoid bootstrap failure
        * bootstrap.conf (gnulib_modules): Add 'threadlib'.
 
diff --git a/configure.ac b/configure.ac
index c89f368..500cd6b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,8 +3,8 @@ AC_INIT([GNU sed], 4.2.2, address@hidden, sed)
 AC_CONFIG_AUX_DIR(build-aux)
 AC_CONFIG_SRCDIR([sed/sed.c])
 AC_CONFIG_HEADERS(config.h:config_h.in)
-AC_PREREQ(2.60)
-AM_INIT_AUTOMAKE
+AC_PREREQ(2.62)
+AM_INIT_AUTOMAKE([1.11.1 parallel-tests])
 
 SED_FEATURE_VERSION=4.2.2
 AC_DEFINE_UNQUOTED(SED_FEATURE_VERSION, "$SED_FEATURE_VERSION",
diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
index d80e72c..c670ee0 100644
--- a/testsuite/Makefile.am
+++ b/testsuite/Makefile.am
@@ -29,8 +29,9 @@ SEDTESTS += \
        factor binary3 binary2 binary dc
 
 TESTS_ENVIRONMENT = MAKE="$(MAKE)" VERSION="$(VERSION)" \
-       @LOCALCHARSET_TESTS_ENVIRONMENT@ $(srcdir)/runtest
+       @LOCALCHARSET_TESTS_ENVIRONMENT@
 
+LOG_COMPILER = $(srcdir)/runtest
 
 EXTRA_DIST = \
        PCRE.tests BOOST.tests SPENCER.tests \
-- 
1.8.1.rc3.27.g3b73c7d




reply via email to

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