mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 17:33:38 +00:00
... 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.
81 lines
2.1 KiB
Plaintext
81 lines
2.1 KiB
Plaintext
E1: C1 CALL pred trust.main/2-0 (cc_multi) trust.m:18
|
|
mdb> mdb> mdb> Contexts will not be printed.
|
|
mdb> echo on
|
|
Command echo enabled.
|
|
mdb> trust trust_helper_1.
|
|
Trusting pred trust_helper_1.w_cmp/3
|
|
mdb> trusted
|
|
Trusted objects:
|
|
1: predicate trust_helper_1.w_cmp/3
|
|
mdb> untrust 1
|
|
mdb> trusted
|
|
There are no trusted modules, predicates or functions.
|
|
mdb> trust trust_helper_2
|
|
Trusting module trust_helper_2
|
|
mdb> trust trust.
|
|
Ambiguous predicate or function specification. The matches are:
|
|
0: pred trust.main/2
|
|
1: pred trust.dostuff/2
|
|
|
|
Which predicate or function do you want to trust (0-1 or *)? 0
|
|
Trusting pred trust.main/2
|
|
mdb> trusted
|
|
Trusted objects:
|
|
2: module trust_helper_2
|
|
3: predicate trust.main/2
|
|
mdb> trust trust_helper_2
|
|
Trusting module trust_helper_2
|
|
mdb> trusted
|
|
Trusted objects:
|
|
2: module trust_helper_2
|
|
3: predicate trust.main/2
|
|
mdb> untrust 2
|
|
mdb> trust trust_helper_1
|
|
Trusting module trust_helper_1
|
|
mdb> trust no_such_module
|
|
mdb: there is no such module, predicate or function.
|
|
mdb> trust trust_helper_2.
|
|
Trusting pred trust_helper_2.concat/3
|
|
mdb> trust std lib
|
|
Trusting the Mercury standard library
|
|
mdb> trust standard library
|
|
Trusting the Mercury standard library
|
|
mdb> trusted
|
|
Trusted objects:
|
|
3: predicate trust.main/2
|
|
4: module trust_helper_1
|
|
5: predicate trust_helper_2.concat/3
|
|
6: the Mercury standard library
|
|
mdb> untrust 3
|
|
mdb> trusted
|
|
Trusted objects:
|
|
4: module trust_helper_1
|
|
5: predicate trust_helper_2.concat/3
|
|
6: the Mercury standard library
|
|
mdb> untrust 3
|
|
mdb: no such trusted object
|
|
mdb> untrust 99
|
|
mdb: no such trusted object
|
|
mdb> untrust 4
|
|
mdb> untrust 5
|
|
mdb> step
|
|
E2: C2 CALL pred trust.dostuff/2-0 (cc_multi)
|
|
mdb> finish
|
|
E3: C2 EXIT pred trust.dostuff/2-0 (cc_multi)
|
|
mdb> dd -d 3 -n 7
|
|
dostuff(w("aaabbb"), '=')
|
|
Valid? n
|
|
w_cmp('=', w("aaB"), w("aAB"))
|
|
Valid? trust
|
|
concat(w("aaa"), w("bbb"), w("aaabbb"))
|
|
Valid? trust module
|
|
Found incorrect contour:
|
|
w_cmp('=', w("aaB"), w("aAB"))
|
|
concat(w("aaa"), w("bbb"), w("aaabbb"))
|
|
dostuff(w("aaabbb"), '=')
|
|
Is this a bug? y
|
|
E3: C2 EXIT pred trust.dostuff/2-0 (cc_multi)
|
|
mdb> continue
|
|
aaabbb
|
|
'='
|