Files
mercury/tests/declarative_debugger/solns.exp2
Zoltan Somogyi cb8c73c592 Fix test failures in trail grades.
tests/declarative_debugger/catch.exp2:
tests/declarative_debugger/catch.exp3:
tests/declarative_debugger/find_origin.exp2:
tests/declarative_debugger/func_call.exp2:
tests/declarative_debugger/gcf.exp2:
tests/declarative_debugger/ho5.exp2:
tests/declarative_debugger/neg_conj.exp2:
tests/declarative_debugger/solns.exp2:
tests/declarative_debugger/throw.exp2:
    Update .exp2 files for line number changes after recent updates
    to source files.

    For the catch test case, swap the .exp2 and .exp3 files first,
    because it looks like the old .exp2, which is the new .exp3,
    is so old that it is probably not an expected output for any
    grade/options combination, and thus should be a candidate for deletion.

tests/declarative_debugger/find_origin.m:
    Improve a comment,

tests/declarative_debugger/catch.m:
    Delete blank last line.
2021-07-30 16:25:26 +10:00

34 lines
739 B
Plaintext

1: 1 1 CALL pred solns.main/2-0 (det) solns.m:16
mdb> echo on
Command echo enabled.
mdb> register --quiet
mdb> untrust 0
mdb> break p
0: + stop interface pred solns.p/2-0 (det)
mdb> continue
2: 2 2 CALL pred solns.p/2-0 (det) solns.m:22 (solns.m:17)
mdb> finish
17: 2 2 EXIT pred solns.p/2-0 (det) solns.m:22 (solns.m:17)
mdb> dd -d 3 -n 7
p(1, [1, 2, 3])
Valid? no
solutions(q(1), [1, 2, 3])
Valid? no
q(1, 1)
Valid? yes
q(1, 2)
Valid? yes
q(1, 3)
Valid? yes
Call q(1, _)
Solutions:
q(1, 1)
q(1, 2)
q(1, 3)
Complete? yes
Found incorrect contour:
solutions(q(1), [1, 2, 3])
Is this a bug? yes
16: 3 3 EXIT pred solutions.solutions/2-1 (det) solutions.m:NNNN (solns.m:23)
mdb> quit -y