bug-patch
[Top][All Lists]
Advanced

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

[bug-patch] [PATCH] tests: specify test runner in LOG_COMPILER, not in T


From: Stefano Lattarini
Subject: [bug-patch] [PATCH] tests: specify test runner in LOG_COMPILER, not in TEST_ENVIRONMENT
Date: Tue, 11 Oct 2011 01:22:39 +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 stage).

See also related discussion on bug-coreutils:
  <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8887>

* tests/Makefile.am (TESTS_ENVIRONMENT): Don't use $(SHELL) here
to ensure the test scripts are run through it; instead, ...
(LOG_COMPILER): ... use it here.
---
 tests/Makefile.am |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index de8862c..9454fae 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -59,5 +59,7 @@ EXTRA_DIST = \
 
 TESTS_ENVIRONMENT = \
        abs_top_builddir=$(abs_top_builddir); \
-       export abs_top_builddir; \
+       export abs_top_builddir;
+
+LOG_COMPILER = \
        $(SHELL)
-- 
1.7.2.3




reply via email to

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