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

73 lines
2.0 KiB
Plaintext

E1: C1 CALL pred find_origin.main/2-0 (det) find_origin.m:29
mdb> mdb> Contexts will not be printed.
mdb> echo on
Command echo enabled.
mdb>
E2: C2 CALL pred find_origin.monotest/2-0 (det)
mdb> f
E3: C2 EXIT pred find_origin.monotest/2-0 (det)
mdb> dd -d 3 -n 7
monotest(t(101), 1)
Valid? b 1
browser> mark
monotest4(t(101), t(101))
Valid? n
Call lambda_find_origin_m_90(t(101), t(1))
Unsatisfiable? y
Call lambda_find_origin_m_90(t(101), t(2))
Unsatisfiable? y
lambda_find_origin_m_90(t(101), t(101))
Valid? y
Call lambda_find_origin_m_90(t(101), t(3))
Unsatisfiable? y
Found incorrect contour:
lambda_find_origin_m_90(t(101), t(101))
monotest4(t(101), t(101))
Is this a bug? y
E4: C3 EXIT pred find_origin.monotest4/2-0 (det)
mdb> break polytest
0: + stop interface pred find_origin.polytest/3-0 (det)
mdb> c
E5: C4 CALL pred find_origin.polytest/3-0 (det)
mdb> f
E6: C4 EXIT pred find_origin.polytest/3-0 (det)
mdb> dd -d 3 -n 7
polytest("hello", u("hello"), 5)
Valid? b 2
browser> mark
polytest4(u("hello"), u("hello"))
Valid? browse
browser> format pretty
browser> p
find_origin.polytest4(u("hello"), u("hello"))
browser> quit
dd> no
Call lambda_find_origin_m_154(u(string), u(u("hello")), v(u("hello")))
Unsatisfiable? y
lambda_find_origin_m_154(u(string), u(u("hello")), u(u("hello")))
Valid? y
Found incorrect contour:
lambda_find_origin_m_154(u(string), u(u("hello")), u(u("hello")))
polytest4(u("hello"), u("hello"))
Is this a bug? y
E7: C5 EXIT pred find_origin.polytest4/2-0 (det)
mdb> delete 0
0: E stop interface pred find_origin.polytest/3-0 (det)
mdb> break tracetest
0: + stop interface pred find_origin.tracetest/2-0 (det)
mdb> c
E8: C6 CALL pred find_origin.tracetest/2-0 (det)
mdb> f
E9: C6 EXIT pred find_origin.tracetest/2-0 (det)
mdb> dd -d 3 -n 7
tracetest(t(101), -2)
Valid? b 1
browser> mark
tracetest1(t(101))
Valid? n
Found incorrect contour:
tracetest1(t(101))
Is this a bug? y
E10: C7 EXIT pred find_origin.tracetest1/1-0 (det)
mdb> quit -y