mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-23 05:13:48 +00:00
Estimated hours taken: 1
Clean up the debugger tests directory by (a) removing the long obsolete
*_lib files, and (b) separating out the three roles of the queens.m
into mdb_command_test.m and interactive.m as well as queens.m.
tests/debugger/mdb_command_test.m:
Add a trivial source file for this test. The other files of the test
case (.inp, .exp) already existed.
tests/debugger/queens.{m,exp,inp}:
Remove the tests of interactive functionality.
tests/debugger/interactive.{m,exp,inp}:
A renamed copy of the old queens.m, with the interactive functionality
intact. Note: since this test case is currently disabled, I cannot
be sure that the .exp file is quite correct in every detail.
tests/debugger/*_lib.*:
Removed these obsolete test cases, since for a while now we have
avoided depending on whether the library was compiled with tracing
or not by leaving all library code to the end and not printing
or stopping at any event inside library code.
tests/debugger/Mmakefile:
Make the necessary updates to accommodate the above changes.
53 lines
378 B
Plaintext
53 lines
378 B
Plaintext
echo on
|
|
print *
|
|
|
|
print *
|
|
|
|
print *
|
|
|
|
print *
|
|
|
|
print *
|
|
|
|
print *
|
|
|
|
print *
|
|
|
|
print *
|
|
level 1
|
|
print *
|
|
up 1
|
|
vars
|
|
print *
|
|
|
|
print HeadVar__1
|
|
print HeadVar__2
|
|
print HeadVar__3
|
|
|
|
print *
|
|
|
|
print *
|
|
|
|
print *
|
|
|
|
print *
|
|
|
|
print *
|
|
|
|
goto -a 20
|
|
stack
|
|
stack -d
|
|
print *
|
|
|
|
retry
|
|
print *
|
|
finish -a
|
|
register --quiet
|
|
break print_list
|
|
break qdelete
|
|
continue -a
|
|
step -aS 5
|
|
disable 1
|
|
continue -n
|
|
continue -n -S
|