From: Stefano Lattarini Date: Sat, 23 Jun 2012 08:39:33 +0000 (+0200) Subject: tests: allow AM_TEST_RUNNER_SHELL to be overridden X-Git-Tag: v1.12.2~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8024b510375dd4ea44fa15a24490c9885f722b4;p=thirdparty%2Fautomake.git tests: allow AM_TEST_RUNNER_SHELL to be overridden * 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 --- diff --git a/defs-static.in b/defs-static.in index 0647ddaff..a90248603 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