Files
mercury/tests/declarative_debugger/ite_2.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

58 lines
1.3 KiB
Plaintext

1: 1 1 CALL pred ite_2.main/2-0 (cc_multi) ite_2.m:14
mdb> echo on
Command echo enabled.
mdb> register --quiet
mdb> break ite_2.ite
Ambiguous procedure specification. The matches are:
0: pred ite_2.ite/3-0 (det)
1: pred ite_2.ite/3-1 (multi)
Which do you want to put a breakpoint on (0-1 or *)? *
0: + stop interface pred ite_2.ite/3-0 (det)
1: + stop interface pred ite_2.ite/3-1 (multi)
mdb> continue
2: 2 2 CALL pred ite_2.ite/3-0 (det) ite_2.m:27 (ite_2.m:15)
mdb> finish
11: 2 2 EXIT pred ite_2.ite/3-0 (det) ite_2.m:27 (ite_2.m:15)
mdb> dd -d 3 -n 7
ite(a, 1, 1)
Valid? no
a(1, 1)
Valid? yes
Call >(1, 1)
Unsatisfiable? yes
c(1, 1)
Valid? yes
Found incorrect contour:
c(1, 1)
ite(a, 1, 1)
Is this a bug? yes
11: 2 2 EXIT pred ite_2.ite/3-0 (det) ite_2.m:27 (ite_2.m:15)
mdb> continue
12: 6 2 CALL pred ite_2.ite/3-1 (multi) ite_2.m:27 (ite_2.m:16)
mdb> finish
29: 6 2 EXIT pred ite_2.ite/3-1 (multi) ite_2.m:27 (ite_2.m:16)
mdb> dd -d 3 -n 7
ite(b, 1, 1)
Valid? no
b(1, 0)
Valid? yes
Call >(0, 1)
Unsatisfiable? yes
b(1, 1)
Valid? yes
Call b(1, _)
Solutions:
b(1, 0)
b(1, 1)
Complete? yes
Found incorrect contour:
c(1, 1)
ite(b, 1, 1)
Is this a bug? yes
29: 6 2 EXIT pred ite_2.ite/3-1 (multi) ite_2.m:27 (ite_2.m:16)
mdb> continue
ite(a, 1, 1).
ite(b, 1, 1).