Skip to content
  1. Feb 16, 2013
  2. Feb 15, 2013
    • Daniel Malea's avatar
      Improve test harness for the buildbots · cbaef266
      Daniel Malea authored
      - Add a "parsable" mode to dotest.py that outputs test results in exactly the same format as clang's lit tests
      - Improve dosep script to output list of failing tests (output should look like clang test failure summaries)
      - Cleanup lldb/test/Makefile to remove needless parameters and environment variables
      - Switch makefile tests to use parsable-mode output; should make the buildbot results parsable
      - Switch makefile tests to use dosep to log catch crashing tests (instead of halting the test suite)
      
      llvm-svn: 175309
      cbaef266
    • Daniel Malea's avatar
      More test case cleanup (Linux and Mac): · e78ecc2c
      Daniel Malea authored
      - remove expectedFailure decorator from resolved rdar 12566646 and 10887661
      - remove expectedFailure from TestBitfields testcase not actually affected by bug
      - skip the (non-deterministic) TestStopHookMechanism.py to avoid a noisy suite on Linux
      
      llvm-svn: 175307
      e78ecc2c
    • Daniel Malea's avatar
      Fix misuse of python subprocess module (caused "leaking" processes and garbling the terminal) · 2dd69bb5
      Daniel Malea authored
      - fixed cleanup of Popen objects by pushing spawn logic into test Base and out of test cases
      - connect subprocess stdin to PIPE (rather than the parent's STDIN) to fix silent terminal issue
      
      Tested on Linux and Mac OS X
      
      llvm-svn: 175301
      2dd69bb5
    • Daniel Malea's avatar
      Rename [Enable|Disable]Breakpoint() to [Enable|Disable]BreakpointSite() in POSIX plugin · b7eec015
      Daniel Malea authored
      - needed due to r175241
      
      llvm-svn: 175290
      b7eec015
    • Daniel Malea's avatar
      Linux test case cleanup: · 654b12c6
      Daniel Malea authored
      - Enable TestFormatters.py: expressions with "new" work
      - Enable TestChangeValueAPI.py: llvm.org/PR15039 fixed
      - Disable expression_command/call-restarts due to llvm.org/PR15278
      - Disable expression_command/call-throws due to ObjC test program
      
      llvm-svn: 175287
      654b12c6
    • Greg Clayton's avatar
      Added missing include. · 79978fc0
      Greg Clayton authored
      llvm-svn: 175279
      79978fc0
    • Filipe Cabecinhas's avatar
      Only enable RTTI for cxa_demangle.cpp · 2f4ed2a8
      Filipe Cabecinhas authored
      If testing on Linux+clang proves it needs RTTI, wa can remove the
      conditionals.
      
      llvm-svn: 175242
      2f4ed2a8
    • Jim Ingham's avatar
      A little cleanup. {Disable/Enable}Breakpoint actually disables/enables... · 299c0c1c
      Jim Ingham authored
      A little cleanup.  {Disable/Enable}Breakpoint actually disables/enables BreakpointSites not breakpoints, it is confusing
      to have it not named appropriately.  Also in StopInfoMachException, we aren't testing for software or not software, just
      whether the thing is a breakpoint we set.  So don't use "software"...
      
      llvm-svn: 175241
      299c0c1c
    • Enrico Granata's avatar
      Daniel Malea caught an issue where calling dotest.py with an invalid directory... · 8628bc59
      Enrico Granata authored
      Daniel Malea caught an issue where calling dotest.py with an invalid directory would cause the progressbar init code to raise an exception
      This commit fixes it
      
      llvm-svn: 175229
      8628bc59
    • Enrico Granata's avatar
      <rdar://problem/13204647> · 75dfb432
      Enrico Granata authored
      The SEL data formatter was working hard to ensure that pointers-to-selectors could be formatted by the same block of code. In that effort, we were taking the address-of a SEL.
      This operation fails when the SEL lives in a register, and was causing problems.
      The formatter has been fixed to work correctly without assuming &selector will be a valid object.
      
      llvm-svn: 175227
      75dfb432
    • Daniel Malea's avatar
      Fix TestSBData.py test case (tested fix Linux/Mac) · 8d7b7a43
      Daniel Malea authored
      - stop ignoring the error-codes in the 'error' variable
      - removed out-of-bounds accesses with read-only array fields such as:
      
        self.assertTrue(data2.uint8[6] == 0, 'binary 0 terminator')
      
      Since SBData wraps a (6-character) python string literal, trying to read the
      null-terminator raises an exception. Instead, I replaced the out-of-bounds
      read with a length-check.
      
      Other out-of-bounds reads (via accessor function like SBData.GetUnsignedInt8)
      don't throw and are OK. I just added asserts that errors are set for these
      negative cases.
      
      llvm-svn: 175223
      8d7b7a43
  3. Feb 14, 2013
  4. Feb 13, 2013
  5. Feb 12, 2013
Loading