mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-16 01:43:35 +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.
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
E1: C1 CALL pred partial.main/2-0 (det) partial.m:15
|
|
mdb> mdb> Contexts will not be printed.
|
|
mdb> echo on
|
|
Command echo enabled.
|
|
mdb> step
|
|
E2: C2 CALL pred partial.p/1-0 (det)
|
|
mdb> finish
|
|
E3: C2 EXIT pred partial.p/1-0 (det)
|
|
mdb> dd
|
|
p(t(1, 2))
|
|
Valid? browse 1
|
|
browser> cd 1
|
|
browser> mark
|
|
a(1)
|
|
Valid? info
|
|
Context of current question : partial.m:36 (partial.m:29)
|
|
Search mode : top down
|
|
The current question was chosen because the marked subterm was bound by
|
|
the unification inside the predicate partial.a/1 (partial.m:36). The
|
|
path to the subterm in the atom is 1.
|
|
dd> undo
|
|
p(t(1, 2))
|
|
Valid? browse 1
|
|
browser> cd 2
|
|
browser> mark
|
|
b(2)
|
|
Valid? info
|
|
Context of current question : partial.m:40 (partial.m:30)
|
|
Search mode : top down
|
|
The current question was chosen because the marked subterm was bound by
|
|
the unification inside the predicate partial.b/1 (partial.m:40). The
|
|
path to the subterm in the atom is 1.
|
|
dd> quit
|
|
Diagnosis aborted.
|
|
E3: C2 EXIT pred partial.p/1-0 (det)
|
|
mdb> quit -y
|