[m-rev.] diff: fix some broken tests

Ian MacLarty maclarty at cs.mu.OZ.AU
Wed Sep 28 22:18:18 AEST 2005


Estimated hours taken: 0.3
Branches: main and 0.12

Fix some broken tests.

tests/debugger/io_tab_goto.exp:
	The expected event numbers were off in this test case.

tests/debugger/declarative/Mercury.options:
	Compile the tabled_read_decl_goto test with I/O tabling enabled.

Index: tests/debugger/io_tab_goto.exp
===================================================================
RCS file: /home/mercury1/repository/tests/debugger/io_tab_goto.exp,v
retrieving revision 1.1
diff -u -r1.1 io_tab_goto.exp
--- tests/debugger/io_tab_goto.exp	16 Sep 2005 05:42:54 -0000	1.1
+++ tests/debugger/io_tab_goto.exp	28 Sep 2005 08:49:59 -0000
@@ -26,7 +26,7 @@
        Stream (arg 1)         	'<<c_pointer>>'
        SoFar (arg 2)          	0
 mdb> finish -n
-      E4:     C2 EXIT pred io_tab_goto.test/5-0 (det)
+      E3:     C2 EXIT pred io_tab_goto.test/5-0 (det)
 mdb> print *
        Stream (arg 1)         	'<<c_pointer>>'
        SoFar (arg 2)          	0
@@ -36,17 +36,17 @@
 mdb> continue
 123
 456
-      E5:     C3 CALL pred io_tab_goto.test/5-0 (det)
+      E4:     C3 CALL pred io_tab_goto.test/5-0 (det)
 mdb> finish -n
-      E6:     C3 EXIT pred io_tab_goto.test/5-0 (det)
+      E5:     C3 EXIT pred io_tab_goto.test/5-0 (det)
 mdb> print *
        Stream (arg 1)         	'<<c_pointer>>'
        SoFar (arg 2)          	0
        N (arg 3)              	789
 mdb> retry -f
-      E5:     C3 CALL pred io_tab_goto.test/5-0 (det)
+      E4:     C3 CALL pred io_tab_goto.test/5-0 (det)
 mdb> finish -n
-      E7:     C3 EXIT pred io_tab_goto.test/5-0 (det)
+      E6:     C3 EXIT pred io_tab_goto.test/5-0 (det)
 mdb> print *
        Stream (arg 1)         	'<<c_pointer>>'
        SoFar (arg 2)          	0
Index: tests/debugger/declarative/Mercury.options
===================================================================
RCS file: /home/mercury1/repository/tests/debugger/declarative/Mercury.options,v
retrieving revision 1.10
diff -u -r1.10 Mercury.options
--- tests/debugger/declarative/Mercury.options	19 Jan 2005 09:55:20 -0000	1.10
+++ tests/debugger/declarative/Mercury.options	28 Sep 2005 12:09:02 -0000
@@ -1,5 +1,6 @@
 MCFLAGS-deep_sub=--trace rep --suppress-trace context
 MCFLAGS-shallow_2=--trace shallow
 MCFLAGS-tabled_read_decl=--trace rep --trace-table-io-all
+MCFLAGS-tabled_read_decl_goto=--trace rep --trace-table-io-all
 MCFLAGS-untraced_subgoal_sub=--trace minimum
 MCFLAGS-exceptions=--strict-sequential

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