Files
mercury/tests/declarative_debugger/shallow.exp
Zoltan Somogyi 0e2784323a Use test case numbers according to our conventions ...
... in the first few test case directories.

tests/analysis_external/Mmakefile:
tests/analysis_external/ext_1.m:
tests/analysis_external/ext_1_runtest.sh:
tests/analysis_external/ext_2.m:
tests/analysis_external/ext_2_runtest.sh:
    Rename the ext and ext2 test cases to ext_1 and ext_2 respectively.

tests/benchmarks/Mmakefile:
tests/benchmarks/deriv_1.exp:
tests/benchmarks/deriv_1.m:
tests/benchmarks/deriv_2.exp:
tests/benchmarks/deriv_2.m:
    Rename the deriv and deriv2 test cases to deriv_1 and deriv_2 respectively.

tests/declarative_debugger/Mercury.options:
tests/declarative_debugger/Mmakefile:
tests/declarative_debugger/ho2.exp:
tests/declarative_debugger/ho2.exp2:
tests/declarative_debugger/ho4.exp:
tests/declarative_debugger/ho5.exp2:
tests/declarative_debugger/ho5.exp3:
tests/declarative_debugger/ho_2.exp:
tests/declarative_debugger/ho_2.exp2:
tests/declarative_debugger/ho_2.inp:
tests/declarative_debugger/ho_2.m:
tests/declarative_debugger/ho_3.exp:
tests/declarative_debugger/ho_3.inp:
tests/declarative_debugger/ho_3.m:
tests/declarative_debugger/ho_4.exp:
tests/declarative_debugger/ho_4.inp:
tests/declarative_debugger/ho_4.m:
tests/declarative_debugger/ho_5.exp:
tests/declarative_debugger/ho_5.exp2:
tests/declarative_debugger/ho_5.exp3:
tests/declarative_debugger/ho_5.inp:
tests/declarative_debugger/ho_5.m:
    Rename the ho2/ho3/ho4/ho5 test cases to ho_2/ho_3/ho_4/ho_5 respectively.

tests/declarative_debugger/revise_1.exp:
tests/declarative_debugger/revise_1.inp:
tests/declarative_debugger/revise_1.m:
    Rename the revise test case to revise_1, due to the existence of
    revise_2.

tests/declarative_debugger/shallow.exp:
tests/declarative_debugger/shallow.m:
tests/declarative_debugger/shallow_helper_1.m:
tests/declarative_debugger/shallow_helper_2.m:
    Rename shallow_2/shallow_3 to shallow_helper_1/shallow_helper_2
    respectively, since they are part of the shallow test case.

tests/declarative_debugger/trust.exp:
tests/declarative_debugger/trust.inp:
tests/declarative_debugger/trust.m:
tests/declarative_debugger/trust_helper_1.m:
tests/declarative_debugger/trust_helper_2.m:
    Rename trust_1/trust_2 to trust_helper_1/trust_helper_2
    respectively, since they are part of the shallow test case.
2024-08-04 16:27:11 +02:00

136 lines
3.4 KiB
Plaintext

1: 1 1 CALL pred shallow.main/2-0 (det) shallow.m:14
mdb> echo on
Command echo enabled.
mdb> register --quiet
mdb> break shallow__test
0: + stop interface pred shallow.test/2-0 (det)
mdb> continue
2: 2 2 CALL pred shallow.test/2-0 (det) shallow.m:33 (shallow.m:15)
mdb> finish
15: 2 2 EXIT pred shallow.test/2-0 (det) shallow.m:33 (shallow.m:15)
mdb> dd -d 3 -n 7
test(p("t1", 5), 1)
Valid? no
p("t1", 5, 1)
Valid? no
a("t1", 1, 1)
Valid? yes
a("t1", 1, 0)
Valid? yes
Call a("t1", 1, _)
Solutions:
a("t1", 1, 1)
a("t1", 1, 0)
Complete? yes
b("t1", 1, 5)
Valid? yes
Found incorrect contour:
b("t1", 1, 5)
p("t1", 5, 1)
Is this a bug? yes
14: 3 3 EXIT pred shallow_helper_1.p/3-0 (det) shallow_helper_1.m:15 (shallow.m:34)
mdb> continue
15: 2 2 EXIT pred shallow.test/2-0 (det) shallow.m:33 (shallow.m:15)
mdb> continue
16: 6 2 CALL pred shallow.test/2-0 (det) shallow.m:33 (shallow.m:16)
mdb> finish
29: 6 2 EXIT pred shallow.test/2-0 (det) shallow.m:33 (shallow.m:16)
mdb> dd -d 3 -n 7
test(p("t2", 37), -11)
Valid? no
p("t2", 37, -11)
Valid? no
a("t2", 1, 1)
Valid? yes
a("t2", 1, 0)
Valid? yes
Call a("t2", 1, _)
Solutions:
a("t2", 1, 1)
a("t2", 1, 0)
Complete? yes
b("t2", 1, 5)
Valid? yes
Found incorrect contour:
b("t2", 1, 5)
p("t2", 37, -11)
Is this a bug? yes
28: 7 3 EXIT pred shallow_helper_1.p/3-0 (det) shallow_helper_1.m:15 (shallow.m:34)
mdb> continue
29: 6 2 EXIT pred shallow.test/2-0 (det) shallow.m:33 (shallow.m:16)
mdb> continue
30: 10 2 CALL pred shallow.test/2-0 (det) shallow.m:33 (shallow.m:17)
mdb> finish
41: 10 2 EXIT pred shallow.test/2-0 (det) shallow.m:33 (shallow.m:17)
mdb> dd -d 3 -n 7
test(q("t3", 2), 2)
Valid? no
q("t3", 2, 2)
Valid? no
a("t3", 2, 2)
Valid? yes
a("t3", 2, 0)
Valid? yes
Call a("t3", 2, _)
Solutions:
a("t3", 2, 2)
a("t3", 2, 0)
Complete? yes
Found incorrect contour:
q("t3", 2, 2)
Is this a bug? yes
40: 11 3 EXIT pred shallow_helper_1.q/3-0 (det) shallow_helper_1.m:29 (shallow.m:34)
mdb> continue
41: 10 2 EXIT pred shallow.test/2-0 (det) shallow.m:33 (shallow.m:17)
mdb> continue
42: 13 2 CALL pred shallow.test/2-0 (det) shallow.m:33 (shallow.m:18)
mdb> finish
48: 13 2 EXIT pred shallow.test/2-0 (det) shallow.m:33 (shallow.m:18)
mdb> dd -d 3 -n 7
test(q("t4", -1), 11)
Valid? no
q("t4", -1, 11)
Valid? no
a("t4", -1, -1)
Valid? yes
Found incorrect contour:
a("t4", -1, -1)
q("t4", -1, 11)
Is this a bug? yes
47: 14 3 EXIT pred shallow_helper_1.q/3-0 (det) shallow_helper_1.m:29 (shallow.m:34)
mdb> continue
48: 13 2 EXIT pred shallow.test/2-0 (det) shallow.m:33 (shallow.m:18)
mdb> continue
49: 16 2 CALL pred shallow.test/2-0 (det) shallow.m:33 (shallow.m:19)
mdb> finish
62: 16 2 EXIT pred shallow.test/2-0 (det) shallow.m:33 (shallow.m:19)
mdb> dd -d 3 -n 7
test(r("t5", 3), 23)
Valid? no
r("t5", 3, 23)
Valid? no
a("t5", 3, 3)
Valid? yes
a("t5", 3, 0)
Valid? yes
Call a("t5", 3, _)
Solutions:
a("t5", 3, 3)
a("t5", 3, 0)
Complete? yes
b("t5", 3, 5)
Valid? yes
Found incorrect contour:
b("t5", 3, 5)
r("t5", 3, 23)
Is this a bug? yes
61: 17 3 EXIT pred shallow_helper_1.r/3-0 (det) shallow_helper_1.m:36 (shallow.m:34)
mdb> continue
62: 16 2 EXIT pred shallow.test/2-0 (det) shallow.m:33 (shallow.m:19)
mdb> continue
1
-11
2
11
23