Skip to content
  1. May 03, 2011
    • Johnny Chen's avatar
      Add a test case to exercise the 'target stop-hook add' command without relying on pexpect · 37286b24
      Johnny Chen authored
      to spawn an lldb child command.  The test is not "correct" in that the '** Stop Hooks **'
      message emitted by the Target implementation is invoked asynchronously and is using a separate:
      
          CommandReturnObject result;
      
      command return object that what the driver passes to the normal command interpreter loop.
      But it can help test our output serialization work.
      
      I need to modify the test case later to maybe only test that "-o 'expr ptr'" option does indeed work.
      
      llvm-svn: 130742
      37286b24
  2. Apr 21, 2011
  3. Mar 12, 2011
    • Johnny Chen's avatar
      Add a test directory stop-hook to test the newly added "target stop-hook" command. · b877f1ef
      Johnny Chen authored
      This uses pexpect module to spawn a 'lldb' program and uses pseudo-TTY to talk to
      the child application.
      
      The test cases test setting breakpoints, adding a stop-hook with line range, and
      verifies that when the inferior stops, the stop-hook will fire off when it is
      within range and will not fire off when it is out of range.
      
      llvm-svn: 127519
      b877f1ef
Loading