mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-16 01:43:35 +00:00
tests/declarative_debugger/*.m:
tests/exceptions/*.m:
tests/general/*.m:
tests/grade_subdirs/*.m:
tests/purity/*.m:
tests/submodules/*.m:
tests/typeclasses/*.m:
Update programming style.
tests/declarative_debugger/*.inp:
Update line numbers in breakpoint commands.
tests/declarative_debugger/*.exp:
Update expected line numbers.
tests/exceptions/Mercury.options:
tests/general/Mercury.options:
Disable some warnings that are irrelevant to the test.
80 lines
1.9 KiB
Plaintext
80 lines
1.9 KiB
Plaintext
E1: C1 CALL pred aadebug.main/2-0 (det) aadebug.m:16
|
|
mdb> echo on
|
|
Command echo enabled.
|
|
mdb> register --quiet
|
|
mdb> break p
|
|
0: + stop interface pred aadebug.p/2-0 (nondet)
|
|
mdb> continue
|
|
E2: C2 CALL pred aadebug.p/2-0 (nondet) aadebug.m:34 (aadebug.m:18)
|
|
mdb> finish
|
|
E3: C2 EXIT pred aadebug.p/2-0 (nondet) aadebug.m:34 (aadebug.m:18)
|
|
mdb> dd -d 3 -n 7
|
|
p('a', 30)
|
|
Valid? no
|
|
q('a', 'a')
|
|
Valid? yes
|
|
r('a', 10)
|
|
Valid? yes
|
|
s(10, 30)
|
|
Valid? yes
|
|
Found incorrect contour:
|
|
q('a', 'a')
|
|
r('a', 10)
|
|
s(10, 30)
|
|
p('a', 30)
|
|
Is this a bug? yes
|
|
E3: C2 EXIT pred aadebug.p/2-0 (nondet) aadebug.m:34 (aadebug.m:18)
|
|
mdb> continue
|
|
E4: C2 REDO pred aadebug.p/2-0 (nondet) aadebug.m:34 (aadebug.m:18)
|
|
mdb> finish
|
|
E5: C2 EXIT pred aadebug.p/2-0 (nondet) aadebug.m:34 (aadebug.m:18)
|
|
mdb> dd -d 3 -n 7
|
|
p('a', 31)
|
|
Valid? no
|
|
Found incorrect contour:
|
|
q('a', 'a')
|
|
r('a', 10)
|
|
p('a', 31)
|
|
Is this a bug? yes
|
|
E5: C2 EXIT pred aadebug.p/2-0 (nondet) aadebug.m:34 (aadebug.m:18)
|
|
mdb> continue
|
|
E6: C2 REDO pred aadebug.p/2-0 (nondet) aadebug.m:34 (aadebug.m:18)
|
|
mdb> finish
|
|
E7: C2 EXIT pred aadebug.p/2-0 (nondet) aadebug.m:34 (aadebug.m:18)
|
|
mdb> dd -d 3 -n 7
|
|
p('a', 32)
|
|
Valid? no
|
|
q('a', 'b')
|
|
Valid? yes
|
|
Call r('b', _)
|
|
Unsatisfiable? yes
|
|
Call q('b', _)
|
|
Unsatisfiable? yes
|
|
Found incorrect contour:
|
|
q('a', 'b')
|
|
p('a', 32)
|
|
Is this a bug? yes
|
|
E7: C2 EXIT pred aadebug.p/2-0 (nondet) aadebug.m:34 (aadebug.m:18)
|
|
mdb> continue
|
|
E8: C2 REDO pred aadebug.p/2-0 (nondet) aadebug.m:34 (aadebug.m:18)
|
|
mdb> finish
|
|
E9: C2 FAIL pred aadebug.p/2-0 (nondet) aadebug.m:34 (aadebug.m:18)
|
|
mdb> dd -d 3 -n 7
|
|
Call p('a', _)
|
|
Solutions:
|
|
p('a', 30)
|
|
p('a', 31)
|
|
p('a', 32)
|
|
Complete? no
|
|
Call q('a', _)
|
|
Solutions:
|
|
q('a', 'a')
|
|
q('a', 'b')
|
|
Complete? yes
|
|
Found partially uncovered atom:
|
|
p('a', _)
|
|
Is this a bug? yes
|
|
E9: C2 FAIL pred aadebug.p/2-0 (nondet) aadebug.m:34 (aadebug.m:18)
|
|
mdb> continue
|
|
no
|