Files
mercury/tests/debugger/declarative/lpe_example.exp3
Julien Fischer 8416ac271a Fix some tests cases that were failing in the .decldebug grades.
Estimated hours taken: 0.5
Branches: main

Fix some tests cases that were failing in the .decldebug grades.

tests/debugger/all_solutions.exp4:
tests/debugger/declarative/lpe_example.exp3:
tests/debugger/declarative/solns.exp3:
	Conform to the recent change in library/mutvar.m (which is used
	to implement builtin_aggregate/4.)
2007-02-05 08:31:58 +00:00

75 lines
1.6 KiB
Plaintext

1: 1 1 CALL pred lpe_example.main/2-0 (det) lpe_example.m:8
mdb> echo on
Command echo enabled.
mdb> context none
Contexts will not be printed.
mdb> register --quiet
mdb> break p
0: + stop interface pred lpe_example.p/2-0 (nondet)
mdb> continue
16: 10 5 CALL pred lpe_example.p/2-0 (nondet)
mdb> finish
26: 10 5 EXIT pred lpe_example.p/2-0 (nondet)
mdb> dd -d 3 -n 7
p(1, 13)
Valid? no
q(3)
Valid? yes
r(3, 13)
Valid? yes
Found incorrect contour:
q(3)
r(3, 13)
p(1, 13)
Is this a bug? yes
26: 10 5 EXIT pred lpe_example.p/2-0 (nondet)
mdb> continue
43: 10 5 REDO pred lpe_example.p/2-0 (nondet)
mdb> finish
49: 10 5 EXIT pred lpe_example.p/2-0 (nondet)
mdb> dd -d 3 -n 7
p(1, 23)
Valid? no
r(3, 23)
Valid? yes
Found incorrect contour:
q(3)
r(3, 23)
p(1, 23)
Is this a bug? yes
49: 10 5 EXIT pred lpe_example.p/2-0 (nondet)
mdb> continue
66: 10 5 REDO pred lpe_example.p/2-0 (nondet)
mdb> finish
70: 10 5 EXIT pred lpe_example.p/2-0 (nondet)
mdb> dd -d 3 -n 7
p(1, 3)
Valid? no
Found incorrect contour:
q(3)
p(1, 3)
Is this a bug? yes
70: 10 5 EXIT pred lpe_example.p/2-0 (nondet)
mdb> continue
87: 10 5 REDO pred lpe_example.p/2-0 (nondet)
mdb> finish
88: 10 5 FAIL pred lpe_example.p/2-0 (nondet)
mdb> dd -d 3 -n 7
Call p(1, _)
Solutions:
p(1, 13)
p(1, 23)
p(1, 3)
Complete? no
Call r(3, _)
Solutions:
r(3, 13)
r(3, 23)
Complete? yes
Found partially uncovered atom:
p(1, _)
Is this a bug? yes
88: 10 5 FAIL pred lpe_example.p/2-0 (nondet)
mdb> continue
[3, 13, 23]