mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-18 19:03:45 +00:00
tests/accumulator/*.m:
tests/analysis_*/*.m:
tests/benchmarks*/*.m:
tests/debugger*/*.{m,exp,inp}:
tests/declarative_debugger*/*.{m,exp,inp}:
tests/dppd*/*.m:
tests/exceptions*/*.m:
tests/general*/*.m:
tests/grade_subdirs*/*.m:
tests/hard_coded*/*.m:
Make these tests use four-space indentation, and ensure that
each module is imported on its own line. (I intend to use the latter
to figure out which subdirectories' tests can be executed in parallel.)
These changes usually move code to different lines. For the debugger tests,
specify the new line numbers in .inp files and expect them in .exp files.
79 lines
2.4 KiB
Plaintext
79 lines
2.4 KiB
Plaintext
1: 1 1 CALL pred untraced_subgoal.main/2-0 (det) untraced_subgoal.m:16
|
|
mdb> echo on
|
|
Command echo enabled.
|
|
mdb> register --quiet
|
|
mdb> break p
|
|
0: + stop interface pred untraced_subgoal.p/2-0 (nondet)
|
|
mdb> continue
|
|
3: 2 2 CALL pred untraced_subgoal.p/2-0 (nondet) untraced_subgoal.m:36 (untraced_subgoal.m:18)
|
|
mdb> finish
|
|
5: 2 2 EXIT pred untraced_subgoal.p/2-0 (nondet) untraced_subgoal.m:36 (untraced_subgoal.m:18)
|
|
mdb> continue
|
|
6: 2 2 REDO pred untraced_subgoal.p/2-0 (nondet) untraced_subgoal.m:36 (untraced_subgoal.m:18)
|
|
mdb> finish
|
|
7: 2 2 EXIT pred untraced_subgoal.p/2-0 (nondet) untraced_subgoal.m:36 (untraced_subgoal.m:18)
|
|
mdb> dd -d 3 -n 7
|
|
p(1, 2)
|
|
Valid? no
|
|
Found incorrect contour:
|
|
p(1, 2)
|
|
Is this a bug? yes
|
|
7: 2 2 EXIT pred untraced_subgoal.p/2-0 (nondet) untraced_subgoal.m:36 (untraced_subgoal.m:18)
|
|
mdb> continue
|
|
8: 2 2 REDO pred untraced_subgoal.p/2-0 (nondet) untraced_subgoal.m:36 (untraced_subgoal.m:18)
|
|
mdb> finish
|
|
9: 2 2 FAIL pred untraced_subgoal.p/2-0 (nondet) untraced_subgoal.m:36 (untraced_subgoal.m:18)
|
|
mdb> dd -d 3 -n 7
|
|
Call p(1, _)
|
|
Solutions:
|
|
p(1, 1)
|
|
p(1, 2)
|
|
Complete? no
|
|
Found partially uncovered atom:
|
|
p(1, _)
|
|
Is this a bug? yes
|
|
9: 2 2 FAIL pred untraced_subgoal.p/2-0 (nondet) untraced_subgoal.m:36 (untraced_subgoal.m:18)
|
|
mdb> continue
|
|
no
|
|
12: 3 2 CALL pred untraced_subgoal.p/2-0 (nondet) untraced_subgoal.m:36 (untraced_subgoal.m:26)
|
|
mdb> finish
|
|
29: 3 2 EXIT pred untraced_subgoal.p/2-0 (nondet) untraced_subgoal.m:36 (untraced_subgoal.m:26)
|
|
mdb> dd -d 3 -n 7
|
|
p(2, 2)
|
|
Valid? no
|
|
r(1, 1)
|
|
Valid? yes
|
|
s(2)
|
|
Valid? yes
|
|
s(3)
|
|
Valid? yes
|
|
Call s(_)
|
|
Solutions:
|
|
s(2)
|
|
s(3)
|
|
Complete? yes
|
|
r(2, 2)
|
|
Valid? yes
|
|
Found incorrect contour:
|
|
r(1, 1)
|
|
r(2, 2)
|
|
s(2)
|
|
p(2, 2)
|
|
Is this a bug? yes
|
|
29: 3 2 EXIT pred untraced_subgoal.p/2-0 (nondet) untraced_subgoal.m:36 (untraced_subgoal.m:26)
|
|
mdb> continue
|
|
30: 3 2 REDO pred untraced_subgoal.p/2-0 (nondet) untraced_subgoal.m:36 (untraced_subgoal.m:26)
|
|
mdb> finish
|
|
36: 3 2 FAIL pred untraced_subgoal.p/2-0 (nondet) untraced_subgoal.m:36 (untraced_subgoal.m:26)
|
|
mdb> dd -d 3 -n 7
|
|
Call p(2, _)
|
|
Solutions:
|
|
p(2, 2)
|
|
Complete? no
|
|
Found partially uncovered atom:
|
|
p(2, _)
|
|
Is this a bug? yes
|
|
36: 3 2 FAIL pred untraced_subgoal.p/2-0 (nondet) untraced_subgoal.m:36 (untraced_subgoal.m:26)
|
|
mdb> continue
|
|
no
|