mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 17:33:38 +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.
55 lines
2.6 KiB
Plaintext
55 lines
2.6 KiB
Plaintext
--- first time ---
|
|
det_throw: exception(univ_cons("det_throw"))
|
|
det_succeed: succeeded("det_succeed")
|
|
semidet_throw: exception(univ_cons("semidet_throw"))
|
|
semidet_succeed: succeeded("semidet_succeed")
|
|
semidet_fail: failed
|
|
cc_multi_throw: exception(univ_cons("cc_multi_throw"))
|
|
cc_multi_succeed: succeeded("cc_multi_succeed")
|
|
cc_nondet_throw: exception(univ_cons("cc_nondet_throw"))
|
|
cc_nondet_succeed: succeeded("cc_nondet_succeed")
|
|
cc_nondet_fail: failed
|
|
multi_throw: exception(univ_cons("multi_throw"))
|
|
multi_succeed: succeeded(["multi_succeed 1", "multi_succeed 2"])
|
|
multi_succeed_then_throw: exception(univ_cons("multi_succeed_then_throw 3"))
|
|
nondet_throw: exception(univ_cons("nondet_throw"))
|
|
nondet_succeed: succeeded(["nondet_succeed 1", "nondet_succeed 2"])
|
|
nondet_fail: succeeded([])
|
|
nondet_succeed_then_throw: exception(univ_cons("nondet_succeed_then_throw 3"))
|
|
--- second time ---
|
|
det_throw: exception(univ_cons("det_throw"))
|
|
det_succeed: succeeded("det_succeed")
|
|
semidet_throw: exception(univ_cons("semidet_throw"))
|
|
semidet_succeed: succeeded("semidet_succeed")
|
|
semidet_fail: failed
|
|
cc_multi_throw: exception(univ_cons("cc_multi_throw"))
|
|
cc_multi_succeed: succeeded("cc_multi_succeed")
|
|
cc_nondet_throw: exception(univ_cons("cc_nondet_throw"))
|
|
cc_nondet_succeed: succeeded("cc_nondet_succeed")
|
|
cc_nondet_fail: failed
|
|
multi_throw: exception(univ_cons("multi_throw"))
|
|
multi_succeed: succeeded(["multi_succeed 1", "multi_succeed 2"])
|
|
multi_succeed_then_throw: exception(univ_cons("multi_succeed_then_throw 3"))
|
|
nondet_throw: exception(univ_cons("nondet_throw"))
|
|
nondet_succeed: succeeded(["nondet_succeed 1", "nondet_succeed 2"])
|
|
nondet_fail: succeeded([])
|
|
nondet_succeed_then_throw: exception(univ_cons("nondet_succeed_then_throw 3"))
|
|
--- third time ---
|
|
det_throw: exception(univ_cons("det_throw"))
|
|
det_succeed: succeeded("det_succeed")
|
|
semidet_throw: exception(univ_cons("semidet_throw"))
|
|
semidet_succeed: succeeded("semidet_succeed")
|
|
semidet_fail: failed
|
|
cc_multi_throw: exception(univ_cons("cc_multi_throw"))
|
|
cc_multi_succeed: succeeded("cc_multi_succeed")
|
|
cc_nondet_throw: exception(univ_cons("cc_nondet_throw"))
|
|
cc_nondet_succeed: succeeded("cc_nondet_succeed")
|
|
cc_nondet_fail: failed
|
|
multi_throw: exception(univ_cons("multi_throw"))
|
|
multi_succeed: succeeded(["multi_succeed 1", "multi_succeed 2"])
|
|
multi_succeed_then_throw: exception(univ_cons("multi_succeed_then_throw 3"))
|
|
nondet_throw: exception(univ_cons("nondet_throw"))
|
|
nondet_succeed: succeeded(["nondet_succeed 1", "nondet_succeed 2"])
|
|
nondet_fail: succeeded([])
|
|
nondet_succeed_then_throw: exception(univ_cons("nondet_succeed_then_throw 3"))
|