bug-automake
[Top][All Lists]
Advanced

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

Re: testsuite failures when test scripts are run with zsh


From: Stefano Lattarini
Subject: Re: testsuite failures when test scripts are run with zsh
Date: Mon, 7 Sep 2009 00:04:11 +0200
User-agent: KMail/1.12.0 (Linux/2.6.26-1-686; KDE/4.3.0; i686; ; )

At Sunday 06 September 2009, Ralf Wildenhues <address@hidden> 
wrote:
> >
> > If anybody is still interested in this report: I did some further
> > investigations, and it soon turned out that the failures are due
> > to the fact that zsh (version 4 or later) handle the `-x' option
> > in a totally brain-damaged way. In details: if a command which is
> > run when `set -x' is active has its standard error redirected to
> > a file, then zsh writes *also the trace* for the command into
> > that file, instead that into the original standard error.
>
> [...]
>
> > I found no workaround.
>
> info Autoconf "File Descriptors"
>
> describes this issue and a possible workaround.  Wanna give it a
> try?
>
Well, in fact I thought of a possible workaround (by means of a proper
new shell function defined in `tests/defs.in', and loosely inspired to
AUTOMAKE_run()), but it would inevitably involve modifying the failing
test scripts, and probably extending the file `tests/README' to explain
how to do stderr redirection avoiding the described zsh bug.
if you think that it's worth having support for zsh4 in the automake
testsuite, I can give it a try, 
>
> Thanks!
> Ralf
Regards,
    Stefano




reply via email to

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