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.
26 lines
916 B
Plaintext
26 lines
916 B
Plaintext
1: 1 1 CALL pred comp_gen.main/2-0 (det) comp_gen.m:13
|
|
mdb> echo on
|
|
Command echo enabled.
|
|
mdb> register --quiet
|
|
mdb> break p
|
|
0: + stop interface pred comp_gen.p/2-0 (semidet)
|
|
mdb> continue
|
|
5: 3 2 CALL pred comp_gen.p/2-0 (semidet) comp_gen.m:34 (comp_gen.m:16)
|
|
mdb> step
|
|
6: 4 3 CALL __Unify__ for comp_gen.foo/1-0 (semidet) comp_gen.m:23 (comp_gen.m:34)
|
|
mdb> finish
|
|
7: 4 3 FAIL __Unify__ for comp_gen.foo/1-0 (semidet) comp_gen.m:23 (comp_gen.m:34)
|
|
mdb> dd -d 3 -n 7
|
|
mdb: cannot start declarative debugging at compiler generated procedures.
|
|
mdb> continue
|
|
8: 3 2 FAIL pred comp_gen.p/2-0 (semidet) comp_gen.m:34 (comp_gen.m:16)
|
|
mdb> dd -d 3 -n 7
|
|
Call p(f(1), f(2))
|
|
Unsatisfiable? no
|
|
Found partially uncovered atom:
|
|
p(f(1), f(2))
|
|
Is this a bug? yes
|
|
8: 3 2 FAIL pred comp_gen.p/2-0 (semidet) comp_gen.m:34 (comp_gen.m:16)
|
|
mdb> continue
|
|
no
|