[m-rev.] trivial diff: fix for problem with duplicate_instance* test

Fergus Henderson fjh at cs.mu.OZ.AU
Mon May 21 13:53:02 AEST 2001


Estimated hours taken: 0.1
Branches: main

tests/invalid/Mmakefile:
	Pass --link-flags "$(ALL_MLFLAGS)" to $(MC) when linking
	the duplicate_instance* test case.  This is needed to avoid
	errors that occur when compiling with --pic-reg and not linking
	with --shared.

Workspace: /home/mars/fjh/ws1/mercury
Index: tests/invalid/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/invalid/Mmakefile,v
retrieving revision 1.87
diff -u -d -r1.87 Mmakefile
--- tests/invalid/Mmakefile	2001/05/17 08:21:30	1.87
+++ tests/invalid/Mmakefile	2001/05/21 03:49:28
@@ -176,6 +176,7 @@
 duplicate_instance_2.err: duplicate_instance_1.m duplicate_instance_2.m \
 		duplicate_instance_1.int
 	if $(MC) $(ALL_GRADEFLAGS) $(ALL_MCFLAGS) \
+		--link-flags "$(ALL_MLFLAGS)" \
 		duplicate_instance_1.m duplicate_instance_2.m \
 		> $*.err 2>&1; \
 	then false; else true; fi

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  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