[m-rev.] for review: fix tests/debugger/completion

Ian MacLarty maclarty at cs.mu.OZ.AU
Thu Feb 9 09:24:34 AEDT 2006


For review by anyone.

Estimated hours taken: 5
Branches: main

Fix tests/debugger/completion test.

tests/debugger/Mercury.options:
	Pass `--runtime-flags --force-readline' to c2init.  Putting the option
	in MCFLAGS doesn't have the desired effect, because Mmake doesn't pass
	those options on to c2init (and therefore mkinit).

	XXX Is this a bug?  How did this test work in the past?

Index: tests/debugger/Mercury.options
===================================================================
RCS file: /home/mercury1/repository/tests/debugger/Mercury.options,v
retrieving revision 1.16
diff -u -r1.16 Mercury.options
--- tests/debugger/Mercury.options	30 Jan 2006 01:47:47 -0000	1.16
+++ tests/debugger/Mercury.options	8 Feb 2006 21:55:39 -0000
@@ -2,6 +2,7 @@
 # The completion test requires mdb to use readline, even though
 # the input is not a terminal.
 MCFLAGS-completion = --runtime-flags --force-readline
+C2INITFLAGS-completion = --runtime-flags --force-readline
 
 # The debugger can't know about type class declarations unless we generate
 # the new type of RTTI for them.
--------------------------------------------------------------------------
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