Files
mercury/tests/declarative_debugger/special_term_dep.exp
Zoltan Somogyi 33eb3028f5 Clean up the tests in half the test directories.
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.
2015-02-14 20:14:03 +11:00

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]