mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-18 02:43:40 +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.
41 lines
992 B
Plaintext
41 lines
992 B
Plaintext
1: 1 1 CALL pred ho4.main/2-0 (det) ho4.m:14
|
|
mdb> echo on
|
|
Command echo enabled.
|
|
mdb> register --quiet
|
|
mdb> break p
|
|
0: + stop interface pred ho4.p/1-0 (semidet)
|
|
mdb> continue
|
|
3: 2 2 CALL pred ho4.p/1-0 (semidet) ho4.m:29 (ho4.m:15)
|
|
mdb> finish
|
|
18: 2 2 FAIL pred ho4.p/1-0 (semidet) ho4.m:29 (ho4.m:15)
|
|
mdb> dd -d 3 -n 7
|
|
Call p(1)
|
|
Unsatisfiable? no
|
|
q(r(5), 5)
|
|
Valid? yes
|
|
q(r(5), 0)
|
|
Valid? yes
|
|
Call q(r(5), _)
|
|
Solutions:
|
|
q(r(5), 5)
|
|
q(r(5), 0)
|
|
Complete? yes
|
|
Found partially uncovered atom:
|
|
p(1)
|
|
Is this a bug? yes
|
|
18: 2 2 FAIL pred ho4.p/1-0 (semidet) ho4.m:29 (ho4.m:15)
|
|
mdb> continue
|
|
21: 5 2 CALL pred ho4.p/1-0 (semidet) ho4.m:29 (ho4.m:20)
|
|
mdb> finish
|
|
36: 5 2 FAIL pred ho4.p/1-0 (semidet) ho4.m:29 (ho4.m:20)
|
|
mdb> dd -d 3 -n 7
|
|
Call p(2)
|
|
Unsatisfiable? no
|
|
Found partially uncovered atom:
|
|
p(2)
|
|
Is this a bug? yes
|
|
36: 5 2 FAIL pred ho4.p/1-0 (semidet) ho4.m:29 (ho4.m:20)
|
|
mdb> continue
|
|
\+ p(1).
|
|
\+ p(2).
|