Re: [HACK] t/test-lib.sh HACK: Add -s/--show-hack to test suite.
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 7, 2008, 14:41 UTC
- Message-ID
- <alpine.DEB.1.00.0807071540310.18205@racer>
- In-Reply-To
- <20080707140841.GB6726@leksak.fem-net>
Hi,
On Mon, 7 Jul 2008, Stephan Beyer wrote:
Show 7 quoted lines
> > > This option realizes a stupid hack that tries to run the test cases > > > line by line (separated by &&). > > > > In what way is that better than "sh -x t????-*.sh"? > > Your suggestion is more like "./t????-*.sh -v" instead of -s, at least > on bash and dash here.
No, I meant without "-v".
> But I didn't know the -x flag and it seems that this could be used in > test-lib.sh to make the hack faster, more robust and less hacky ;-)
It would obsolete your hack, I suggest. Obviously, you haven't tried it yet.
Hth, Dscho