Files
mercury/tests/debugger/declarative/backtrack.exp2
Julien Fischer 624ffa8ba0 Fix the failure of debugger/declarative/backtrack.
Estimated hours taken: 0.1
Branches: main

Fix the failure of debugger/declarative/backtrack.

tests/debugger/declarative/backtrack.exp:
tests/debugger/declarative/backtrack.exp2:
	Conform to the change in r1.3 of backtrack.m.
2007-10-08 07:30:06 +00:00

38 lines
792 B
Plaintext

1: 1 1 CALL pred backtrack.main/2-0 (det) backtrack.m:13
mdb> echo on
Command echo enabled.
mdb> register --quiet
mdb> break p
0: + stop interface pred backtrack.p/2-0 (det)
mdb> continue
2: 2 2 CALL pred backtrack.p/2-0 (det) backtrack.m:20 (backtrack.m:14)
mdb> finish
29: 2 2 EXIT pred backtrack.p/2-0 (det) backtrack.m:20 (backtrack.m:14)
mdb> dd -d 3 -n 7
p(1, no)
Valid? no
q(1, 1)
Valid? yes
Call >(1, 5)
Unsatisfiable? yes
q(1, 2)
Valid? yes
Call >(2, 5)
Unsatisfiable? yes
q(1, 3)
Valid? yes
Call >(3, 5)
Unsatisfiable? yes
Call q(1, _)
Solutions:
q(1, 1)
q(1, 2)
q(1, 3)
Complete? yes
Found incorrect contour:
p(1, no)
Is this a bug? yes
29: 2 2 EXIT pred backtrack.p/2-0 (det) backtrack.m:20 (backtrack.m:14)
mdb> continue
no