[PATCH] tests: enable Automake parallel testsuite harness
Stefano Lattarini <[email protected]>
| Newsgroups | gmane.comp.gnu.utils.bugs |
|---|---|
| Message-ID | <1c981ced291e8c512fd12370404236acb9b9f52b.1356803907.git.stefano.lattarini@gmail.com> |
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 <[email protected]> --- 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 <[email protected]> (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 <[email protected]> (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, [email protected], 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