[m-rev.] diff: fix tests/hard_coded/parse

Fergus Henderson fjh at cs.mu.OZ.AU
Sun Nov 24 16:05:50 AEDT 2002


Estimated hours taken: 0.5
Branches: main, release

tests/hard_coded/Mercury.options:
	Add `--no-pic-reg' to MGNUCFLAGS-parse;
	this is needed because that test case gets linked statically.

Workspace: /home/mars/fjh/ws1/mercury
Index: tests/hard_coded/Mercury.options
===================================================================
RCS file: /home/mercury1/repository/tests/hard_coded/Mercury.options,v
retrieving revision 1.1
diff -u -d -r1.1 Mercury.options
--- tests/hard_coded/Mercury.options	17 Aug 2002 13:52:10 -0000	1.1
+++ tests/hard_coded/Mercury.options	24 Nov 2002 05:03:25 -0000
@@ -47,6 +47,14 @@
 # tracking it down.
 MLFLAGS-mode_choice = --no-strip
 
+# parse.m gets compiled with --trace deep and linked with --trace because
+# it is a regression test for a bug that only showed up with tracing enabled.
+# It needs to be compiled with --no-pic-reg, since it is linked
+# statically.  I have no idea why it gets linked statically.
+# However, currently it is the only test case we have which gets linked
+# statically, and we do want to have at least one test case to test
+# static linking.
+MGNUCFLAGS-parse	=	--no-pic-reg
 MLFLAGS-parse		=	--trace --static
 
 MLFLAGS-split-c-files	=	--trace

-- 
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