mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-20 20:03:44 +00:00
tests/accumulator/*.m:
tests/analysis_*/*.m:
tests/benchmarks*/*.m:
tests/debugger*/*.{m,exp,inp}:
tests/declarative_debugger*/*.{m,exp,inp}:
tests/dppd*/*.m:
tests/exceptions*/*.m:
tests/general*/*.m:
tests/grade_subdirs*/*.m:
tests/hard_coded*/*.m:
Make these tests use four-space indentation, and ensure that
each module is imported on its own line. (I intend to use the latter
to figure out which subdirectories' tests can be executed in parallel.)
These changes usually move code to different lines. For the debugger tests,
specify the new line numbers in .inp files and expect them in .exp files.
49 lines
1.2 KiB
Plaintext
49 lines
1.2 KiB
Plaintext
E1: C1 CALL pred ho5.main/2-0 (cc_multi) ho5.m:14
|
|
mdb> echo on
|
|
Command echo enabled.
|
|
mdb> register --quiet
|
|
mdb> break p
|
|
0: + stop interface pred ho5.p/2-0 (det)
|
|
mdb> continue
|
|
E2: C2 CALL pred ho5.p/2-0 (det) ho5.m:24
|
|
mdb> finish
|
|
E3: C2 EXCP pred ho5.p/2-0 (det) c2; ho5.m:24
|
|
mdb> dd -d 3 -n 7
|
|
Call p(1, _)
|
|
Throws zero
|
|
Expected? no
|
|
q(1, 0)
|
|
Valid? yes
|
|
Call r(0, _)
|
|
Throws zero
|
|
Expected? yes
|
|
Found unhandled or incorrect exception:
|
|
p(1, _)
|
|
zero
|
|
Is this a bug? yes
|
|
E3: C2 EXCP pred ho5.p/2-0 (det) c2; ho5.m:24
|
|
mdb> continue
|
|
mdb: warning: reached unknown label
|
|
This may result in some exception events
|
|
being omitted from the trace.
|
|
exception(univ_cons('<<function>>'))
|
|
E4: C3 CALL pred ho5.p/2-0 (det) ho5.m:24
|
|
mdb> finish
|
|
E5: C3 EXCP pred ho5.p/2-0 (det) c2; ho5.m:24
|
|
mdb> dd -d 3 -n 7
|
|
Call p(2, _)
|
|
Throws zero
|
|
Expected? no
|
|
q(2, 0)
|
|
Valid? yes
|
|
Found unhandled or incorrect exception:
|
|
p(2, _)
|
|
zero
|
|
Is this a bug? yes
|
|
E5: C3 EXCP pred ho5.p/2-0 (det) c2; ho5.m:24
|
|
mdb> continue
|
|
mdb: warning: reached unknown label
|
|
This may result in some exception events
|
|
being omitted from the trace.
|
|
exception(univ_cons('<<function>>'))
|