mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-19 03:13:40 +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.
33 lines
724 B
Plaintext
33 lines
724 B
Plaintext
1: 1 1 CALL pred neg_conj.main/2-0 (det) neg_conj.m:14
|
|
mdb> echo on
|
|
Command echo enabled.
|
|
mdb> register --quiet
|
|
mdb> break p
|
|
0: + stop interface pred neg_conj.p/1-0 (semidet)
|
|
mdb> continue
|
|
3: 2 2 CALL pred neg_conj.p/1-0 (semidet) neg_conj.m:24 (neg_conj.m:15)
|
|
mdb> finish
|
|
18: 2 2 EXIT pred neg_conj.p/1-0 (semidet) neg_conj.m:24 (neg_conj.m:15)
|
|
mdb> dd -d 3 -n 7
|
|
p(0)
|
|
Valid? no
|
|
q(0, 0)
|
|
Valid? yes
|
|
Call r(0)
|
|
Unsatisfiable? yes
|
|
q(0, 1)
|
|
Valid? yes
|
|
Call r(1)
|
|
Unsatisfiable? yes
|
|
Call q(0, _)
|
|
Solutions:
|
|
q(0, 0)
|
|
q(0, 1)
|
|
Complete? yes
|
|
Found incorrect contour:
|
|
p(0)
|
|
Is this a bug? yes
|
|
18: 2 2 EXIT pred neg_conj.p/1-0 (semidet) neg_conj.m:24 (neg_conj.m:15)
|
|
mdb> continue
|
|
yes.
|