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.
30 lines
845 B
Plaintext
30 lines
845 B
Plaintext
E1: C1 CALL pred all_trusted.main/2-0 (det) all_trusted.m:17
|
|
mdb> mdb> Contexts will not be printed.
|
|
mdb> echo on
|
|
Command echo enabled.
|
|
mdb> table_io allow
|
|
mdb> table_io start
|
|
I/O tabling started.
|
|
mdb> trust all_trusted
|
|
Trusting module all_trusted
|
|
mdb> break p
|
|
0: + stop interface pred all_trusted.p/2-0 (det)
|
|
mdb> c
|
|
E2: C2 CALL pred all_trusted.p/2-0 (det)
|
|
mdb> f
|
|
E3: C2 EXIT pred all_trusted.p/2-0 (det)
|
|
mdb> dd -d 3 -n 7 -a
|
|
All descendent calls are trusted.
|
|
Shall I continue searching in ancestor calls?
|
|
> y
|
|
2No bug found.
|
|
E3: C2 EXIT pred all_trusted.p/2-0 (det)
|
|
mdb> break main
|
|
1: + stop interface pred all_trusted.main/2-0 (det)
|
|
mdb> c
|
|
2 E4: C1 EXIT pred all_trusted.main/2-0 (det)
|
|
mdb> dd -d 3 -n 7 -a
|
|
2No bug found.
|
|
2 E4: C1 EXIT pred all_trusted.main/2-0 (det)
|
|
mdb> quit -y
|