This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Decrease number of threads used by goroutines.go test
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
> Ian Lance Taylor <iant@google.com> writes:
>
>> Jakub Jelinek <jakub@redhat.com> writes:
>>
>>> 2011-03-08 Jakub Jelinek <jakub@redhat.com>
>>>
>>> * go.test/go-test.exp: For goroutines.go test pass
>>> max($[`ulimit -u`/4], 10000) as first argument, or 64 as a safe
>>> default.
>>
>> How about if we do this unless the environment variable
>> GCCGO_RUN_ALL_TESTS is set, so that people have a way to run the full
>> testsuite. I can also change the libgo testsuite to only run the
>> networking tests if that environment variable is set. This patch is OK
>> with that change. Thanks for doing it.
>
> Alternatively, one might use GCC_TEST_RUN_EXPENSIVE, which is already
> used to control dg-require-effective-target run_expensive_tests. This
> avoids separate mechanisms per testsuite/language.
Works for me. Thanks.
Ian