mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 01:13:30 +00:00
Specifically, rename the following subdirectories of the test directory:
old dir name new dir name
analysis/ext analysis_external
analysis/ctgc analysis_ctgc
analysis/excp analysis_excp
analysis/table analysis_table
analysis/trail analysis_trail
invalid/purity invalid_purity
analysis/sharing analysis_sharing
hard_coded/purity purity
general/accumulator accumulator
analysis/unused_args analysis_unused_args
debugger/declarative declarative_debugger
hard_coded/exceptions exceptions
general/string_format string_format
hard_coded/sub-modules submodules
hard_coded/typeclasses typeclasses
general/structure_reuse structure_reuse
Some subdirectories are still there, to wit, the subdirs of the inactive
test directory stm, each of which (if I remember correctly) holds only one
test case.
The general/structure_reuse directory previously wasn't enabled; I think
this was a bug.
tests/Mmakefile:
tools/bootcheck:
List the new test directories.
tests/Mmake.common:
The analysis_* directories each need to know whether the workspace
uses subdirs. This used to be controlled from one place,
analysis/Mmakefile, but since analysis_* are not subdirs of analysis,
we need a new central place to find this out.
tests/analysis/common.sh:
Update documentation for the move.
tests/OLDDIRS/Mmakefile:
Set the subdir list to empty.
tests/NEWDIRS/Mmakefile:
Update the "this" directory's name, as well as TESTS_DIR.
In analysis_*/Mmakefile, use the new mechanism for detecting the presence
of subdirs.
104 lines
3.1 KiB
Plaintext
104 lines
3.1 KiB
Plaintext
1: 1 1 CALL pred dependency.main/2-0 (cc_multi) dependency.m:11
|
|
mdb> echo on
|
|
Command echo enabled.
|
|
mdb> register --quiet
|
|
mdb> goto 3
|
|
3: 2 2 EXIT pred dependency.turn_on_origin_debug/0-0 (det) dependency.m:69 (dependency.m:12)
|
|
mdb> dd -d 3 -n 7
|
|
turn_on_origin_debug
|
|
Valid? browse 1
|
|
Invalid argument number
|
|
dd> quit
|
|
Diagnosis aborted.
|
|
3: 2 2 EXIT pred dependency.turn_on_origin_debug/0-0 (det) dependency.m:69 (dependency.m:12)
|
|
mdb> step
|
|
4: 3 2 CALL pred dependency.test/1-0 (cc_multi) dependency.m:19 (dependency.m:13)
|
|
mdb> finish
|
|
18: 3 2 EXIT pred dependency.test/1-0 (cc_multi) dependency.m:19 (dependency.m:13)
|
|
mdb> format_param depth 20
|
|
mdb> format_param size 201
|
|
mdb> format raw_pretty
|
|
mdb> p proc_body
|
|
|
|
proc_defn_rep(
|
|
[|](head_var_rep(1, var_mode_rep(ir_free_rep, ir_ground_rep)), []),
|
|
goal_rep(
|
|
conj_rep(
|
|
[|](
|
|
goal_rep(atomic_goal_rep/4, det_rep, unit),
|
|
[|](
|
|
goal_rep(ite_rep/3, det_rep, unit),
|
|
[|](goal_rep/3, [|](goal_rep/3, [|]/2))))),
|
|
cc_multidet_rep,
|
|
unit),
|
|
empty,
|
|
cc_multidet_rep)
|
|
mdb> dd -d 3 -n 7
|
|
test([|](1, [|](3, [|](6, [|](1, [|](3, []))))))
|
|
Valid? browse 1
|
|
browser> ^1
|
|
browser> mark
|
|
Origin: origin_primitive_op("dependency.m", 22, primop_unification)
|
|
p(1)
|
|
Valid? quit
|
|
Diagnosis aborted.
|
|
18: 3 2 EXIT pred dependency.test/1-0 (cc_multi) dependency.m:19 (dependency.m:13)
|
|
mdb> dd -d 3 -n 7
|
|
test([|](1, [|](3, [|](6, [|](1, [|](3, []))))))
|
|
Valid? browse 1
|
|
browser> ^2^1
|
|
browser> mark
|
|
Origin: output(r, any_head_var_from_back(1), [1])
|
|
r(1, [|](3, [|](4, [])), -(3, 4))
|
|
Valid? browse 2
|
|
browser> print
|
|
[|](3, [|](4, []))
|
|
browser> mark
|
|
Origin: origin_primitive_op("dependency.m", 29, primop_unification)
|
|
p(1)
|
|
Valid? quit
|
|
Diagnosis aborted.
|
|
18: 3 2 EXIT pred dependency.test/1-0 (cc_multi) dependency.m:19 (dependency.m:13)
|
|
mdb> dd -d 3 -n 7
|
|
test([|](1, [|](3, [|](6, [|](1, [|](3, []))))))
|
|
Valid? browse 1
|
|
browser> ^2^2^1
|
|
browser> mark
|
|
Origin: origin_primitive_op("dependency.m", 41, primop_unification)
|
|
p(1)
|
|
Valid? quit
|
|
Diagnosis aborted.
|
|
18: 3 2 EXIT pred dependency.test/1-0 (cc_multi) dependency.m:19 (dependency.m:13)
|
|
mdb> dd -d 3 -n 7
|
|
test([|](1, [|](3, [|](6, [|](1, [|](3, []))))))
|
|
Valid? browse 1
|
|
browser> ^2^2^2^1
|
|
browser> mark
|
|
Origin: origin_primitive_op("dependency.m", 22, primop_unification)
|
|
p(1)
|
|
Valid? quit
|
|
Diagnosis aborted.
|
|
18: 3 2 EXIT pred dependency.test/1-0 (cc_multi) dependency.m:19 (dependency.m:13)
|
|
mdb> dd -d 3 -n 7
|
|
test([|](1, [|](3, [|](6, [|](1, [|](3, []))))))
|
|
Valid? browse 1
|
|
browser> ^2^2^2^2^1
|
|
browser> mark
|
|
Origin: output(r, any_head_var_from_back(1), [1])
|
|
r(1, [|](3, [|](4, [])), -(3, 4))
|
|
Valid? quit
|
|
Diagnosis aborted.
|
|
18: 3 2 EXIT pred dependency.test/1-0 (cc_multi) dependency.m:19 (dependency.m:13)
|
|
mdb> dd -d 3 -n 7
|
|
test([|](1, [|](3, [|](6, [|](1, [|](3, []))))))
|
|
Valid? browse 1
|
|
browser> ^2^2^2^2^2
|
|
browser> mark
|
|
Origin: origin_primitive_op("dependency.m", 43, primop_unification)
|
|
p(1)
|
|
Valid? quit
|
|
Diagnosis aborted.
|
|
18: 3 2 EXIT pred dependency.test/1-0 (cc_multi) dependency.m:19 (dependency.m:13)
|
|
mdb> continue
|
|
[1, 3, 6, 1, 3].
|