diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-06-23 11:16:08 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-06-23 12:58:37 +0200 |
commit | 76fea2de5fa1e2f240e744ab067acb6db98480f7 (patch) | |
tree | 88157cc04d406e47661e20414649b67e10feb8d6 /t/README | |
parent | d8024b510375dd4ea44fa15a24490c9885f722b4 (diff) | |
download | automake-76fea2de5fa1e2f240e744ab067acb6db98480f7.tar.gz |
tests: drop support for older Zsh shells
* defs-static.in: Here. The fact that such support has been broken for
almost a year (only fixed by today's commit 'v1.12.1-57-gf1e0300'),
causing no bug reports from anyone, shows that such support is not truly
warranted. And it will get in the way of future improvements in the
handling of the exit trap (because bugs in older Zsh versions will
prevent some of our planned improvements). So just drop it.
* t/README: Remove obsolete advice for working around bugs in older
versions of Zsh; instead, indicate version 4.3 is the oldest Zsh now
supported.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't/README')
-rw-r--r-- | t/README | 21 |
1 files changed, 4 insertions, 17 deletions
@@ -105,23 +105,10 @@ Supported shells to run the test(s) through the makefile test driver. The test scripts are written with portability in mind, so that they - should run with any decent Bourne-compatible shell. - - However, some care must be used with Zsh, since, when not directly - started in Bourne-compatibility mode, it has some incompatibilities - in the handling of $0 which conflict with our usage. Our testsuite - can automatically work around these incompatibilities when a version - 4.3 or later of Zsh is used, but unfortunately not when an older - version of Zsh is used. Thus, if you want to run a test script, say - 'foo.sh', with Zsh 4.2, you *can't* simply do "zsh foo.sh", but - you *must* resort to: - - AM_TESTS_REEXEC=no zsh -o no_function_argzero foo.sh - - Note that this problem does not occur if Zsh is executed through - a symlink with a basename of 'sh', since in that case Zsh starts - in Bourne compatibility mode. So you should be perfectly safe - when /bin/sh is Zsh, even a it's version < 4.3. + should run with any decent Bourne-compatible shell. However, it is + worth nothing that older versions of Zsh (pre-4.3) exhibited several + bugs and incompatibilities with our uses, and are thus not supported + for running Automake's test scripts. Reporting failures |