Files
mercury/tests/declarative_debugger/gcf.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

67 lines
1.3 KiB
Plaintext

1: 1 1 CALL pred gcf.main/2-0 (cc_multi) gcf.m:16
mdb> echo on
Command echo enabled.
mdb> register --quiet
mdb> break a
0: + stop interface pred gcf.a/1-0 (nondet)
mdb> continue
3: 2 2 CALL pred gcf.a/1-0 (nondet) gcf.m:29 (gcf.m:18)
mdb> finish
27: 2 2 EXIT pred gcf.a/1-0 (nondet) gcf.m:29 (gcf.m:18)
mdb> dd -d 3 -n 7
a(11)
Valid? no
g(2)
Valid? yes
c(2, 11)
Valid? yes
f(11)
Valid? yes
Found incorrect contour:
g(2)
c(2, 11)
f(11)
a(11)
Is this a bug? yes
27: 2 2 EXIT pred gcf.a/1-0 (nondet) gcf.m:29 (gcf.m:18)
mdb> continue
30: 2 2 REDO pred gcf.a/1-0 (nondet) gcf.m:29 (gcf.m:18)
mdb> finish
38: 2 2 EXIT pred gcf.a/1-0 (nondet) gcf.m:29 (gcf.m:18)
mdb> dd -d 3 -n 7
a(12)
Valid? no
c(2, 12)
Valid? yes
f(12)
Valid? yes
Found incorrect contour:
g(2)
c(2, 12)
f(12)
a(12)
Is this a bug? yes
38: 2 2 EXIT pred gcf.a/1-0 (nondet) gcf.m:29 (gcf.m:18)
mdb> continue
41: 2 2 REDO pred gcf.a/1-0 (nondet) gcf.m:29 (gcf.m:18)
mdb> finish
54: 2 2 EXIT pred gcf.a/1-0 (nondet) gcf.m:29 (gcf.m:18)
mdb> dd -d 3 -n 7
a(20)
Valid? no
g(3)
Valid? yes
c(3, 20)
Valid? yes
f(20)
Valid? yes
Found incorrect contour:
g(3)
c(3, 20)
f(20)
a(20)
Is this a bug? yes
54: 2 2 EXIT pred gcf.a/1-0 (nondet) gcf.m:29 (gcf.m:18)
mdb> continue
yes(20)