mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 17:33:38 +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.
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
E1: C1 CALL pred switch_on_unbounded.main/2-0 (det) switch_on_unbounded.m:21
|
|
mdb> echo on
|
|
Command echo enabled.
|
|
mdb> register --quiet
|
|
mdb> break edge
|
|
0: + stop interface pred switch_on_unbounded.edge/2-0 (semidet)
|
|
mdb> continue
|
|
E2: C2 CALL pred switch_on_unbounded.edge/2-0 (semidet) switch_on_unbounded.m:38 (switch_on_unbounded.m:22)
|
|
mdb> print *
|
|
HeadVar__1 2
|
|
mdb> step
|
|
E3: C2 SWTC pred switch_on_unbounded.edge/2-0 (semidet) s2-na; switch_on_unbounded.m:39
|
|
mdb> print *
|
|
HeadVar__1 2
|
|
mdb> delete *
|
|
0: E stop interface pred switch_on_unbounded.edge/2-0 (semidet)
|
|
mdb> break edge_str
|
|
0: + stop interface pred switch_on_unbounded.edge_str/2-0 (semidet)
|
|
mdb> continue
|
|
1
|
|
E4: C3 CALL pred switch_on_unbounded.edge_str/2-0 (semidet) switch_on_unbounded.m:45 (switch_on_unbounded.m:28)
|
|
mdb> print *
|
|
HeadVar__1 "2"
|
|
mdb> step
|
|
E5: C3 SWTC pred switch_on_unbounded.edge_str/2-0 (semidet) s2-na; switch_on_unbounded.m:46
|
|
mdb> print *
|
|
HeadVar__1 "2"
|
|
mdb> delete *
|
|
0: E stop interface pred switch_on_unbounded.edge_str/2-0 (semidet)
|
|
mdb> continue
|
|
1
|