mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-23 21:33:49 +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.
45 lines
1.3 KiB
Plaintext
45 lines
1.3 KiB
Plaintext
E1: C1 CALL pred special_term_dep.main/2-0 (det) special_term_dep.m:16
|
|
mdb> echo on
|
|
Command echo enabled.
|
|
mdb> register --quiet
|
|
mdb> break p
|
|
0: + stop interface pred special_term_dep.p/1-0 (det)
|
|
mdb> break q
|
|
1: + stop interface pred special_term_dep.q/2-0 (semidet)
|
|
mdb> continue
|
|
E2: C2 CALL pred special_term_dep.p/1-0 (det) special_term_dep.m:32 (special_term_dep.m:25)
|
|
mdb> finish
|
|
E3: C2 EXIT pred special_term_dep.p/1-0 (det) special_term_dep.m:32 (special_term_dep.m:25)
|
|
mdb> dd -d 3 -n 7
|
|
p([2, 3])
|
|
Valid? browse 1
|
|
browser> mark
|
|
pa([2, 3])
|
|
Valid? yes
|
|
Found incorrect contour:
|
|
pa([2, 3])
|
|
p([2, 3])
|
|
Is this a bug? yes
|
|
E3: C2 EXIT pred special_term_dep.p/1-0 (det) special_term_dep.m:32 (special_term_dep.m:25)
|
|
mdb> continue
|
|
[2, 3]
|
|
E4: C3 CALL pred special_term_dep.q/2-0 (semidet) special_term_dep.m:64 (special_term_dep.m:53)
|
|
mdb> finish
|
|
E5: C3 EXIT pred special_term_dep.q/2-0 (semidet) special_term_dep.m:64 (special_term_dep.m:53)
|
|
mdb> dd -d 3 -n 7
|
|
q([1, 2], [3])
|
|
Valid? browse 2
|
|
browser> mark
|
|
qb([1, 2], [3])
|
|
Valid? browse 1
|
|
browser> mark
|
|
qa([1, 2])
|
|
Valid? yes
|
|
Found inadmissible call:
|
|
Parent q([1, 2], _)
|
|
Call qb([1, 2], _)
|
|
Is this a bug? yes
|
|
E5: C3 EXIT pred special_term_dep.q/2-0 (semidet) special_term_dep.m:64 (special_term_dep.m:53)
|
|
mdb> continue
|
|
[3]
|