[Lldb-commits] [PATCH] D29215: [LLDB][MIPS] Fix TestMiniDumpNew

Nitesh Jain via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 27 01:53:36 PST 2017


nitesh.jain added a comment.

ERROR: test_two_cores_same_pid (TestMiniDumpNew.MiniDumpNewTestCase)

  Test that we handle the situation if we have two core files with the same PID

----------------------------------------------------------------------

Traceback (most recent call last):

  File "/export/tmp/nin/LLVM/llvm/tools/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1884, in setUp
    Base.setUp(self)
  File "/export/tmp/nin/LLVM/llvm/tools/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 835, in setUp
    self.darwinWithFramework = self.platformIsDarwin()
  File "/export/tmp/nin/LLVM/llvm/tools/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1300, in platformIsDarwin
    return lldbplatformutil.platformIsDarwin()
  File "/export/tmp/nin/LLVM/llvm/tools/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py", line 140, in platformIsDarwin
    return getPlatform() in getDarwinOSTriples()
  File "/export/tmp/nin/LLVM/llvm/tools/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py", line 130, in getPlatform
    platform = lldb.DBG.GetSelectedPlatform().GetTriple().split('-')[2]

AttributeError: 'NoneType' object has no attribute 'split'


Repository:
  rL LLVM

https://reviews.llvm.org/D29215





More information about the lldb-commits mailing list