On Mar 8, 2011, at 10:44 AM, Jakub Jelinek wrote:
> Because ulimit -u is Linux specific?
Seems to work on darwin (266).
Jakub Jelinek writes:
> 2011-03-08 Jakub Jelinek
>
> * go.test/go-test.exp: For goroutines.go test if GCCGO_RUN_ALL_TESTS
> is not set in the environment, pass 64 as first argument when not
> running expensive tests or pass max($[`ulimit -u`/4], 1) on
> Linux native
Jakub Jelinek writes:
> I'm happy to drop the [ ishost "*-linux*" ] && if you are going to look for
> failures on weirdo OSes. I have no idea what ulimit -u does on anything but
> Linux, while the tcl code only uses its value if it printed a number,
> whether it is something similar to limit on
On Tue, Mar 08, 2011 at 07:56:38PM +0100, Rainer Orth wrote:
> Jakub Jelinek writes:
> At best, it's shell-specific: Solaris 11 /bin/sh (which is ksh93) does
> have it, although admittedly previous Solaris/IRIX/Tru64 UNIX shells
> don't. On the other hand, bash has it on all of those systems.
>
Jakub Jelinek writes:
>> Why should this be Linux-specific? I think the same logic applies
>> everywhere.
>
> Because ulimit -u is Linux specific? At least, google doesn't show any
> hints about any other OSes having such limit, neither RLIMIT_NPROC nor
> ulimit -u.
At best, it's shell-specifi
On Tue, Mar 08, 2011 at 07:40:38PM +0100, Rainer Orth wrote:
> Jakub Jelinek writes:
>
> > Ok, here is an updated patch which uses both proposed env vars:
> >
> > GCCGO_RUN_ALL_TESTS=1 makes it fail for me as before (i.e. 1 threads)
> >
> > GCC_TEST_RUN_EXPENSIVE=1 makes it run with max($[`ul
Jakub Jelinek writes:
> Ok, here is an updated patch which uses both proposed env vars:
>
> GCCGO_RUN_ALL_TESTS=1 makes it fail for me as before (i.e. 1 threads)
>
> GCC_TEST_RUN_EXPENSIVE=1 makes it run with max($[`ulimit -u`/4], 1)
> threads on Linux native, 1 everywhere else
Why s
On Tue, Mar 08, 2011 at 08:04:23AM -0800, Ian Lance Taylor wrote:
> I don't really care what environment variable we use, I just want some
> way to run the full test, without having DejaGNU silently change the
> test on me. It's perfectly reasonable to have the default check ulimit,
> I just want