Added a more complex test case of breakpoint commands, which executes a sequence
of 'breakpoint command add/list/remove' commands to set breakpoint callbacks, list them, and then remove one. Modified the lldbtest.TestBase.expect() method to add two additional keyword arguments: o matching (default to True), which, if set to False, reverses the semantics of 'expect' to 'expect not' o patterns (default to None), which specifies a list of regexp patterns to match against the output from running the command TestBreakpointCommand.py uses the matching=False and the patterns=[...] expect() API. llvm-svn: 114480
Showing
- lldb/test/breakpoint_command/Makefile 5 additions, 0 deletionslldb/test/breakpoint_command/Makefile
- lldb/test/breakpoint_command/TestBreakpointCommand.py 115 additions, 0 deletionslldb/test/breakpoint_command/TestBreakpointCommand.py
- lldb/test/breakpoint_command/main.c 13 additions, 0 deletionslldb/test/breakpoint_command/main.c
- lldb/test/lldbtest.py 39 additions, 8 deletionslldb/test/lldbtest.py
lldb/test/breakpoint_command/Makefile
0 → 100644
lldb/test/breakpoint_command/main.c
0 → 100644
Please register or sign in to comment