[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/3] tests: support development version of automake too
From: |
Stefano Lattarini |
Subject: |
[PATCH 1/3] tests: support development version of automake too |
Date: |
Mon, 10 Oct 2011 14:32:23 +0200 |
This change implements a more correct and idiomatic use of the
features of the Automake-provided 'parallel-tests' harness.
Moreover, this change is required in order for the testsuite to
continue to work with the new testsuite harness that is planned
to be introduced in Automake 1.12 (which, as of the writing date,
is still under development and in late alpha state).
* tests/Makefile.am (TESTS_ENVIRONMENT): The development version of
automake dos not support setting the interpreter delegated to run
the tests scripts in this variable; instead, use ...
(LOG_COMPILER): ... this variable.
* .gitignore: Ignore `.trs' files in directory `tests/'.
* build-aux/.gitignore: Ignore `test-driver' script.
---
.gitignore | 1 +
build-aux/.gitignore | 1 +
tests/Makefile.am | 4 +++-
3 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/.gitignore b/.gitignore
index 818afc1..03c253f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -44,6 +44,7 @@
/po/stamp-po
/stamp-h1
/tests/*.log
+/tests/*.trs
/tests/csinput
/tests/cspatfile
/tests/get-mb-cur-max
diff --git a/build-aux/.gitignore b/build-aux/.gitignore
index 78cf860..3f455f4 100644
--- a/build-aux/.gitignore
+++ b/build-aux/.gitignore
@@ -16,6 +16,7 @@
/mdate-sh
/missing
/snippet
+/test-driver
/texinfo.tex
/unused-parameter.h
/update-copyright
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 1baf269..736df9e 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -127,7 +127,9 @@ TESTS_ENVIRONMENT = \
PERL='$(PERL)' \
SHELL='$(SHELL)' \
PATH='$(abs_top_builddir)/src$(PATH_SEPARATOR)'"$$PATH" \
- ; $(SHELL) 9>&2
+ ; 9>&2
+
+LOG_COMPILER = $(SHELL)
VERBOSE = yes
--
1.7.2.3