Re: [PATCH] Testsuite: use $SHELL to run tests which are shell scripts.

2011-01-09 Thread Stefano Lattarini
On Sunday 09 January 2011, Ralf Wildenhues wrote: > * Stefano Lattarini wrote on Mon, Jan 03, 2011 at 04:04:26PM CET: > > References: > > > > > >

Re: [PATCH] Testsuite: use $SHELL to run tests which are shell scripts.

2011-01-09 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Mon, Jan 03, 2011 at 04:04:26PM CET: > References: > > > I have rebased the patch on latest master again. I'll wait

Re: [PATCH] Testsuite: use $SHELL to run tests which are shell scripts.

2011-01-03 Thread Stefano Lattarini
References: -*-*- Hello automakers. I have rebased the patch on latest master again. I'll wait until *sunday* evening before pushing to master

Re: [PATCH] Testsuite: use $SHELL to run tests which are shell scripts.

2010-12-03 Thread Stefano Lattarini
Hello automakers. I have rebased the patch on latest master, since the recent(ish) work on the tests-init branch had introduced some conflicts (easy to solve, luckily). I've also fixed an oversight in the previous patch: the presence of the exit trap was checked for /bin/sh, not $SHELL, despite t

Re: [PATCH] Testsuite: use $SHELL to run tests which are shell scripts.

2010-09-02 Thread Stefano Lattarini
On Thursday 02 September 2010, Stefano Lattarini wrote: > > The patch has obvious advantages though. How to best ameliorate > > the disadvantages? > > Hmm... maybe by making `tests/defs' re-execute the current test > with $CONFIG_SHELL unless a proper environment variable (let's say > `AM_TESTSUI

Re: [PATCH] Testsuite: use $SHELL to run tests which are shell scripts.

2010-09-02 Thread Stefano Lattarini
On Thursday 02 September 2010, Ralf Wildenhues wrote: > Well, the only qualm I have with this is that it will in the long > run make it less likely that we are portable to /bin/sh too. Not > a problem per se, but being able to do > cd tests > ./foo.test(or $srcdir/foo.test) > > to quickly

Re: [PATCH] Testsuite: use $SHELL to run tests which are shell scripts.

2010-09-02 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Wed, Sep 01, 2010 at 10:23:48PM CEST: > Before this patch, to force the consistent use of (say) ksh as the shell, > I had to resort to something like: > $ CONFIG_SHELL=/bin/ksh /bin/ksh ./configure CONFIG_SHELL=/bin/ksh > $ make > $ make (re)check TEST_LOG_COMPILE