Skip to content
  1. Jun 15, 2011
    • Johnny Chen's avatar
      Simplify the base test class. Remove keyword argument setCookie from TestBase.runCmd() and · 5b67ca8c
      Johnny Chen authored
      remove the self.runStarted attribute since the automatic shutdown of processes associated
      with the targets are now performed automatically.
      
      llvm-svn: 133092
      5b67ca8c
    • Johnny Chen's avatar
      Add an API to SBDebugger class: · 3794ad95
      Johnny Chen authored
          bool SBDebugger::DeleteTarget(lldb::SBTarget &target);
      
      which is used in the test tearDown() phase to cleanup the debugger's target list
      so that it won't grow larger and larger as test cases are executed.  This is also
      a good opportunity to get rid of the arcane requirement that test cases exercising
      the Python API must assign the process object to self.process so that it gets
      shutdown gracefully.  Instead, the shutdown of the process associated with each
      target is now being now automatically.
      
      Also get rid of an API from SBTarget class:
      
          SBTarget::DeleteTargetFromList(lldb_private::TargetList *list);
      
      llvm-svn: 133091
      3794ad95
  2. Jun 14, 2011
  3. Jun 06, 2011
  4. Jun 01, 2011
  5. May 28, 2011
  6. May 25, 2011
  7. May 07, 2011
  8. May 06, 2011
  9. May 05, 2011
  10. May 04, 2011
  11. May 03, 2011
  12. Apr 27, 2011
  13. Apr 22, 2011
  14. Apr 19, 2011
  15. Apr 18, 2011
  16. Apr 15, 2011
  17. Mar 23, 2011
    • Johnny Chen's avatar
      Turns out that the test failure wrt: · ac77f3b2
      Johnny Chen authored
          rdar://problem/9173060 lldb hangs while running unique-types
      
      disappears if running with clang version >= 3.  Modify the TestUniqueTypes.py
      to detect if we are running with clang version < 3 and, if true, skip the test.
      
      Update the lldbtest.system() function to return a tuple of (stdoutdata, stderrdata)
      since we need the stderr data from "clang -v" command.  Modify existing clients of
      lldbtest.system() to now use, for example:
      
               # First, capture the golden output emitted by the oracle, i.e., the
               # series of printf statements.
      -        go = system("./a.out", sender=self)
      +        go = system("./a.out", sender=self)[0]
               # This golden list contains a list of (variable, value) pairs extracted
               # from the golden output.
               gl = []
      
      And add two utility functions to lldbutil.py.
      
      llvm-svn: 128162
      ac77f3b2
  18. 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
  19. Mar 11, 2011
  20. Jan 27, 2011
  21. Jan 23, 2011
  22. Jan 19, 2011
  23. Dec 23, 2010
  24. Dec 15, 2010
  25. Dec 13, 2010
  26. Dec 10, 2010
  27. Dec 09, 2010
  28. Dec 08, 2010
  29. Dec 06, 2010
  30. Dec 04, 2010
Loading