[m-rev.] diff: fix murlibobo test failures

Simon Taylor stayl at cs.mu.OZ.AU
Mon Nov 4 01:28:40 AEDT 2002


Estimated hours taken: 3
Branches: main

tests/Mmake.common:
	Fix a problem with parallel make where test directories were
	not being cleaned up properly after failures because too many
	processes were being created by the `mmake -j10 realclean_local'
	in each directory, exceeding the per-user process limit. This
	caused spurious test failures on murlibobo.

Index: Mmake.common
===================================================================
RCS file: /home/mercury1/repository/tests/Mmake.common,v
retrieving revision 1.34
diff -u -u -r1.34 Mmake.common
--- Mmake.common	18 Oct 2002 04:59:41 -0000	1.34
+++ Mmake.common	3 Nov 2002 14:23:16 -0000
@@ -241,7 +241,13 @@
 
 # Run multiple rm commands at once to speed up
 # `mmake realclean' on slow NFS filesystems.
-RM_JFACTOR=-j10
+# XXX We used to do this, but if the tests are being
+# run with parallel make it results a huge number of
+# processes being run because make's jobserver mechanism
+# is disabled if `-j' is specified on the command line
+# of a sub-make.
+# RM_JFACTOR=-j10
+RM_JFACTOR=
 
 #
 # Clean up after any previous test run.
--------------------------------------------------------------------------
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