[m-rev.] for review: fix parallel test failures

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Sep 5 17:31:51 AEST 2002


On 03-Sep-2002, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> 
> tests/Mmake.common:
> 	Don't run the tests in each directory in parallel.
> 	This avoids problems with targets being made by multiple
> 	mmake processes at the same time, and being cleaned up
> 	before all users are finished with them. The subdirectories
> 	are still run in parallel.
> 
> 	The %.log targets now return an exit status of 1
> 	if the test fails.

I think it is fine as far as performance goes to just run the different
directories in parallel.  The main drawback of this patch is that there
won't be much in the way of testing of parallel make within a single
directory.  I guess we build the compiler, library, and profilers
with parallel make enabled, so that is probably adequate testing of
parallel make.

Hence I think this patch is fine.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list