mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-16 18:03:36 +00:00
Estimated hours taken: 1
Branches: main
Fix some tests that fail in the decldebug grades.
tests/debugger/Mmakefile:
Don't run the tailrec1 test in decldebug grades, as the tail
recursion optimisation isn't supported in those grades.
tests/debugger/loopcheck.exp3:
Update an event number. Presumably this changed because of
changes to the standard library.
tests/debugger/declarative/condition_bug.exp:
tests/debugger/declarative/condition_bug.inp:
Break on stream.put/4 instead of io.write_string/4.
Don't expect context for put method calls.
tests/debugger/declarative/condition_bug.m:
Remove a comment that doesn't seem to apply anymore.
tests/debugger/declarative/solns.exp3:
tests/debugger/declarative/solns.inp3:
Fix the input and expected output for this test in the
decldebug grade.
27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
1: 1 1 CALL pred loopcheck.main/2-0 (det) loopcheck.m:13
|
|
mdb> echo on
|
|
Command echo enabled.
|
|
mdb> register --quiet
|
|
mdb> context nextline
|
|
Contexts will be printed on the next line.
|
|
mdb> break loopcheck.main
|
|
0: + stop interface pred loopcheck.main/2-0 (det)
|
|
mdb> break loopcheck.loop
|
|
1: + stop interface pred loopcheck.loop/1-0 (det)
|
|
mdb> finish
|
|
2: 2 2 CALL pred loopcheck.loop/1-0 (det)
|
|
loopcheck.m:20 (from loopcheck.m:14)
|
|
3: 3 3 CALL pred loopcheck.loop/1-0 (det)
|
|
loopcheck.m:20 (from loopcheck.m:21)
|
|
12: 3 3 EXCP pred loopcheck.loop/1-0 (det)
|
|
loopcheck.m:21 (from loopcheck.m:21)
|
|
13: 2 2 EXCP pred loopcheck.loop/1-0 (det)
|
|
loopcheck.m:21 (from loopcheck.m:14)
|
|
14: 1 1 EXCP pred loopcheck.main/2-0 (det)
|
|
loopcheck.m:14
|
|
mdb> continue
|
|
Uncaught Mercury exception:
|
|
Software Error: detected infinite recursion in pred loopcheck.loop/1
|
|
Last trace event was event #91.
|
|
Last trace event before the unhandled exception was event #8.
|