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

67 lines
1.3 KiB
Plaintext

1: 1 1 CALL pred gcf.main/2-0 (cc_multi) gcf.m:16
mdb> echo on
Command echo enabled.
mdb> register --quiet
mdb> break a
0: + stop interface pred gcf.a/1-0 (nondet)
mdb> continue
3: 2 2 CALL pred gcf.a/1-0 (nondet) gcf.m:33 (gcf.m:18)
mdb> finish
23: 2 2 EXIT pred gcf.a/1-0 (nondet) gcf.m:33 (gcf.m:18)
mdb> dd -d 3 -n 7
a(11)
Valid? no
g(2)
Valid? yes
c(2, 11)
Valid? yes
f(11)
Valid? yes
Found incorrect contour:
g(2)
c(2, 11)
f(11)
a(11)
Is this a bug? yes
23: 2 2 EXIT pred gcf.a/1-0 (nondet) gcf.m:33 (gcf.m:18)
mdb> continue
24: 2 2 REDO pred gcf.a/1-0 (nondet) gcf.m:33 (gcf.m:18)
mdb> finish
30: 2 2 EXIT pred gcf.a/1-0 (nondet) gcf.m:33 (gcf.m:18)
mdb> dd -d 3 -n 7
a(12)
Valid? no
c(2, 12)
Valid? yes
f(12)
Valid? yes
Found incorrect contour:
g(2)
c(2, 12)
f(12)
a(12)
Is this a bug? yes
30: 2 2 EXIT pred gcf.a/1-0 (nondet) gcf.m:33 (gcf.m:18)
mdb> continue
31: 2 2 REDO pred gcf.a/1-0 (nondet) gcf.m:33 (gcf.m:18)
mdb> finish
42: 2 2 EXIT pred gcf.a/1-0 (nondet) gcf.m:33 (gcf.m:18)
mdb> dd -d 3 -n 7
a(20)
Valid? no
g(3)
Valid? yes
c(3, 20)
Valid? yes
f(20)
Valid? yes
Found incorrect contour:
g(3)
c(3, 20)
f(20)
a(20)
Is this a bug? yes
42: 2 2 EXIT pred gcf.a/1-0 (nondet) gcf.m:33 (gcf.m:18)
mdb> continue
yes(20)