[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] init.sh: don't waste a subshell just to redirect stderr
From: |
Bruno Haible |
Subject: |
Re: [PATCH] init.sh: don't waste a subshell just to redirect stderr |
Date: |
Thu, 05 Jan 2012 17:56:36 +0100 |
User-agent: |
KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; ) |
Eric Blake replied:
> > Wouldn't it be simpler and better to leave that redirection out altogether?
> > The output of the test scripts should be redirected to `.log' files by the
> > testsuite harness, so by being more verbose we can make those files more
> > informative, all without cluttering the make output.
>
> In the case of coreutils, yes. But in the case of ./gnulib-tool
> --with-tests --test ..., for running gnulib unit tests, there is nothing
> capturing the stderr, so it leaks to the output.
Yes, and gettext and other packages also run gnulib unit tests.
Automake offers several flavours of the testsuite framework. Gnulib's
tests should work reasonably with all of them.
Bruno
Re: [PATCH] init.sh: don't waste a subshell just to redirect stderr, Jim Meyering, 2012/01/05