automake-patches
[Top][All Lists]
Advanced

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

[FYI] {maint} tests: allow AM_TEST_RUNNER_SHELL to be overridden


From: Stefano Lattarini
Subject: [FYI] {maint} tests: allow AM_TEST_RUNNER_SHELL to be overridden
Date: Sat, 23 Jun 2012 10:41:17 +0200

* defs-static.in: Here.  This will make it easier for the maintainer
to run some self checks (like those in 't/self-check-exit.tap') with
different shells, to look for possible portability problems.  Fix a
typo (doubled "the") while we are at it.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 defs-static.in |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/defs-static.in b/defs-static.in
index 0647dda..a902486 100644
--- a/defs-static.in
+++ b/defs-static.in
@@ -140,8 +140,8 @@ build_alias=${build_alias-'@build_alias@'}; export 
build_alias
 
 # The shell we use to run our own test scripts, determined at configure
 # time.  It is required in the self tests, and most importantly for the
-# the automatic re-execution of test scripts.
-AM_TEST_RUNNER_SHELL='@AM_TEST_RUNNER_SHELL@'
+# automatic re-execution of test scripts.
+AM_TEST_RUNNER_SHELL=${AM_TEST_RUNNER_SHELL-'@AM_TEST_RUNNER_SHELL@'}
 
 # Make sure we override the user shell.  And do not read the value of
 # $SHELL from the environment (think to the non-uncommon situation where
-- 
1.7.9.5




reply via email to

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