This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: testsuite/25741: Gcc testsuite isn't parallel build


>Subject: Re: PATCH: testsuite/25741: Gcc testsuite isn't parallel build
>safe
>Cc: gcc-patches@gcc.gnu.org
>Date: Mon, 16 Jan 2006 13:27:03 -0800
>In-Reply-To: <20060111225438.GA14482@lucon.org>
>User-Agent: Mutt/1.4.1i
>
>On Wed, Jan 11, 2006 at 02:54:38PM -0800, H. J. Lu wrote:
>> The problem is gcc testsuite uses the same tmpdir for testcases of
>> differrent compilers. It is very hard to avoid the same prefix being
>> used in different testcases for different compilers. As the result,
>> "make -j 4 check" may lead to testcases for different compilers with
>> the same prefix may override each other. This patch sets a different
>> tmpdir for each compiler. The result is at
>>
>> http://gcc.gnu.org/ml/gcc-testresults/2006-01/msg00551.html
>>
>> 2006-01-10  H.J. Lu  <hongjiu.lu@intel.com>
>>
>> 	PR testsuite/25741
>> 	* Makefile.in (check-%): Depend on site.exp instead of
>> 	$(TESTSUITEDIR)/site.exp. Run "runtest" in separate language
>> 	directories.
>
>This is OK.  I tried it with many of my own scripts that run subsets of
>tests in odd little ways and only needed to change one of them.
>

Gcc 3.4, 4.0 and 4.1 have the same problems. I am using the same patch
on 4.1. I am enclosing a patch for 3.4 and a patch for 4.0 here. Are
they OK to apply?

Thanks.


H.J.

Attachment: gcc-4.0-ppp-1.patch
Description: gcc-4.0-ppp-1.patch

Attachment: gcc-3.4-ppp-1.patch
Description: gcc-3.4-ppp-1.patch


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]