[Lldb-commits] [Diffusion] rL234260: Fixed a crash because we weren't generating

Ilia K ki.stfu at gmail.com
Thu Apr 9 09:54:35 PDT 2015


Hello @spyffe,

The 6 tests have been failing on OS X since it was committed:

  ======================================================================
  FAIL: test_with_dsym_and_python_api (TestObjCClassMethod.TestObjCClassMethod)
     Test calling functions in class methods.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 710, in wrapper
      func(*args, **kwargs)
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 411, in wrapper
      return func(self, *args, **kwargs)
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 543, in wrapper
      func(*args, **kwargs)
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 462, in wrapper
      return func(self, *args, **kwargs)
    File "/Users/IliaK/p/llvm/tools/lldb/test/lang/objc/objc-class-method/TestObjCClassMethod.py", line 21, in test_with_dsym_and_python_api
      self.objc_class_method()
    File "/Users/IliaK/p/llvm/tools/lldb/test/lang/objc/objc-class-method/TestObjCClassMethod.py", line 68, in objc_class_method
      self.assertTrue (cmd_value.GetValueAsUnsigned() == 5)
  AssertionError: False is not True
  Config=x86_64-clang
  ======================================================================
  FAIL: test_with_dwarf_and_python_api (TestObjCClassMethod.TestObjCClassMethod)
     Test calling functions in class methods.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 710, in wrapper
      func(*args, **kwargs)
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 543, in wrapper
      func(*args, **kwargs)
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 411, in wrapper
      return func(self, *args, **kwargs)
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 479, in wrapper
      return func(self, *args, **kwargs)
    File "/Users/IliaK/p/llvm/tools/lldb/test/lang/objc/objc-class-method/TestObjCClassMethod.py", line 30, in test_with_dwarf_and_python_api
      self.objc_class_method()
    File "/Users/IliaK/p/llvm/tools/lldb/test/lang/objc/objc-class-method/TestObjCClassMethod.py", line 68, in objc_class_method
      self.assertTrue (cmd_value.GetValueAsUnsigned() == 5)
  AssertionError: False is not True
  Config=x86_64-clang
  ----------------------------------------------------------------------
  ======================================================================
  FAIL: test_with_dsym_and_python_api (TestObjCStepping.TestObjCStepping)
     Test stepping through ObjC method dispatch in various forms.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 710, in wrapper
      func(*args, **kwargs)
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 411, in wrapper
      return func(self, *args, **kwargs)
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 462, in wrapper
      return func(self, *args, **kwargs)
    File "/Users/IliaK/p/llvm/tools/lldb/test/lang/objc/objc-stepping/TestObjCStepping.py", line 22, in test_with_dsym_and_python_api
      self.objc_stepping()
    File "/Users/IliaK/p/llvm/tools/lldb/test/lang/objc/objc-stepping/TestObjCStepping.py", line 110, in objc_stepping
      self.assertTrue (line_number == self.source_randomMethod_line, "Stepped into Source randomMethod.")
  AssertionError: False is not True : Stepped into Source randomMethod.
  Config=x86_64-clang
  ======================================================================
  FAIL: test_with_dwarf_and_python_api (TestObjCStepping.TestObjCStepping)
     Test stepping through ObjC method dispatch in various forms.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 710, in wrapper
      func(*args, **kwargs)
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 411, in wrapper
      return func(self, *args, **kwargs)
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 479, in wrapper
      return func(self, *args, **kwargs)
    File "/Users/IliaK/p/llvm/tools/lldb/test/lang/objc/objc-stepping/TestObjCStepping.py", line 30, in test_with_dwarf_and_python_api
      self.objc_stepping()
    File "/Users/IliaK/p/llvm/tools/lldb/test/lang/objc/objc-stepping/TestObjCStepping.py", line 110, in objc_stepping
      self.assertTrue (line_number == self.source_randomMethod_line, "Stepped into Source randomMethod.")
  AssertionError: False is not True : Stepped into Source randomMethod.
  Config=x86_64-clang
  ----------------------------------------------------------------------
  ======================================================================
  FAIL: test_expr_with_dsym (TestObjCNewSyntax.ObjCNewSyntaxTestCase)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 710, in wrapper
      func(*args, **kwargs)
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 462, in wrapper
      return func(self, *args, **kwargs)
    File "/Users/IliaK/p/llvm/tools/lldb/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py", line 21, in test_expr_with_dsym
      self.expr()
    File "/Users/IliaK/p/llvm/tools/lldb/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py", line 75, in expr
      substrs = ["bar"])
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 2108, in expect
      self.runCmd(str, msg=msg, trace = (True if trace else False), check = not error, inHistory=inHistory)
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 2034, in runCmd
      msg if msg else CMD_MSG(cmd))
  AssertionError: False is not True : Variable(s) displayed correctly
  Config=x86_64-clang
  ======================================================================
  FAIL: test_expr_with_dwarf (TestObjCNewSyntax.ObjCNewSyntaxTestCase)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 479, in wrapper
      return func(self, *args, **kwargs)
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 696, in wrapper
      func(*args, **kwargs)
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 696, in wrapper
      func(*args, **kwargs)
    File "/Users/IliaK/p/llvm/tools/lldb/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py", line 28, in test_expr_with_dwarf
      self.expr()
    File "/Users/IliaK/p/llvm/tools/lldb/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py", line 75, in expr
      substrs = ["bar"])
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 2108, in expect
      self.runCmd(str, msg=msg, trace = (True if trace else False), check = not error, inHistory=inHistory)
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 2034, in runCmd
      msg if msg else CMD_MSG(cmd))
  AssertionError: False is not True : Variable(s) displayed correctly
  Config=x86_64-clang
  ----------------------------------------------------------------------

Can you help with it?

Thanks,
Ilia


USERS
  spyffe (Author)

http://reviews.llvm.org/rL234260

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the lldb-commits mailing list