Files
mercury/tests/declarative_debugger/lpe_example.exp3
Zoltan Somogyi d9a1050af6 Flatten the test directories, step 1.
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.
2015-02-10 00:43:02 +11:00

75 lines
1.6 KiB
Plaintext

1: 1 1 CALL pred lpe_example.main/2-0 (det) lpe_example.m:8
mdb> echo on
Command echo enabled.
mdb> context none
Contexts will not be printed.
mdb> register --quiet
mdb> break p
0: + stop interface pred lpe_example.p/2-0 (nondet)
mdb> continue
16: 10 5 CALL pred lpe_example.p/2-0 (nondet)
mdb> finish
26: 10 5 EXIT pred lpe_example.p/2-0 (nondet)
mdb> dd -d 3 -n 7
p(1, 13)
Valid? no
q(3)
Valid? yes
r(3, 13)
Valid? yes
Found incorrect contour:
q(3)
r(3, 13)
p(1, 13)
Is this a bug? yes
26: 10 5 EXIT pred lpe_example.p/2-0 (nondet)
mdb> continue
43: 10 5 REDO pred lpe_example.p/2-0 (nondet)
mdb> finish
49: 10 5 EXIT pred lpe_example.p/2-0 (nondet)
mdb> dd -d 3 -n 7
p(1, 23)
Valid? no
r(3, 23)
Valid? yes
Found incorrect contour:
q(3)
r(3, 23)
p(1, 23)
Is this a bug? yes
49: 10 5 EXIT pred lpe_example.p/2-0 (nondet)
mdb> continue
66: 10 5 REDO pred lpe_example.p/2-0 (nondet)
mdb> finish
70: 10 5 EXIT pred lpe_example.p/2-0 (nondet)
mdb> dd -d 3 -n 7
p(1, 3)
Valid? no
Found incorrect contour:
q(3)
p(1, 3)
Is this a bug? yes
70: 10 5 EXIT pred lpe_example.p/2-0 (nondet)
mdb> continue
87: 10 5 REDO pred lpe_example.p/2-0 (nondet)
mdb> finish
88: 10 5 FAIL pred lpe_example.p/2-0 (nondet)
mdb> dd -d 3 -n 7
Call p(1, _)
Solutions:
p(1, 13)
p(1, 23)
p(1, 3)
Complete? no
Call r(3, _)
Solutions:
r(3, 13)
r(3, 23)
Complete? yes
Found partially uncovered atom:
p(1, _)
Is this a bug? yes
88: 10 5 FAIL pred lpe_example.p/2-0 (nondet)
mdb> continue
[3, 13, 23]