Skip three test cases that are asserting on macosx as of r299199. A quick
look showed that the target's arch has no core / byte order and so when AuxVector::AuxVector calls into a dataextractor and sets the byte size to 0, it asserts. e.g. m_arch = { m_triple = (Data = "x86_64--linux", Arch = x86_64, SubArch = NoSubArch, Vendor = UnknownVendor, OS = Linux, Environment = UnknownEnvironment, ObjectFormat = ELF) m_core = kCore_invalid m_byte_order = eByteOrderInvalid m_flags = 0x00000000 m_distribution_id = <no value available> } <rdar://problem/31380097> llvm-svn: 299408
This commit is contained in:
parent
3896bf7453
commit
498ff61e2d
|
@ -39,6 +39,7 @@ class LinuxCoreTestCase(TestBase):
|
|||
super(LinuxCoreTestCase, self).tearDown()
|
||||
|
||||
@skipIf(oslist=['windows'])
|
||||
@skipIfDarwin # <rdar://problem/31380097>, fails started happening with r299199
|
||||
@skipIf(triple='^mips')
|
||||
def test_i386(self):
|
||||
"""Test that lldb can read the process information from an i386 linux core file."""
|
||||
|
@ -57,18 +58,21 @@ class LinuxCoreTestCase(TestBase):
|
|||
self.do_test("linux-mips64el-gnuabi64", self._mips64_n64_pid, self._mips_regions)
|
||||
|
||||
@skipIf(oslist=['windows'])
|
||||
@skipIfDarwin # <rdar://problem/31380097>, fails started happening with r299199
|
||||
@skipIf(triple='^mips')
|
||||
def test_x86_64(self):
|
||||
"""Test that lldb can read the process information from an x86_64 linux core file."""
|
||||
self.do_test("linux-x86_64", self._x86_64_pid, self._x86_64_regions)
|
||||
|
||||
@skipIf(oslist=['windows'])
|
||||
@skipIfDarwin # <rdar://problem/31380097>, fails started happening with r299199
|
||||
@skipIf(triple='^mips')
|
||||
def test_s390x(self):
|
||||
"""Test that lldb can read the process information from an s390x linux core file."""
|
||||
self.do_test("linux-s390x", self._s390x_pid, self._s390x_regions)
|
||||
|
||||
@skipIf(oslist=['windows'])
|
||||
@skipIfDarwin # <rdar://problem/31380097>, fails started happening with r299199
|
||||
@skipIf(triple='^mips')
|
||||
def test_same_pid_running(self):
|
||||
"""Test that we read the information from the core correctly even if we have a running
|
||||
|
@ -98,6 +102,7 @@ class LinuxCoreTestCase(TestBase):
|
|||
self.RemoveTempFile("linux-x86_64-pid.core")
|
||||
|
||||
@skipIf(oslist=['windows'])
|
||||
@skipIfDarwin # <rdar://problem/31380097>, fails started happening with r299199
|
||||
@skipIf(triple='^mips')
|
||||
def test_two_cores_same_pid(self):
|
||||
"""Test that we handle the situation if we have two core files with the same PID
|
||||
|
@ -127,6 +132,7 @@ class LinuxCoreTestCase(TestBase):
|
|||
self.do_test("linux-x86_64", self._x86_64_pid, self._x86_64_regions)
|
||||
|
||||
@skipIf(oslist=['windows'])
|
||||
@skipIfDarwin # <rdar://problem/31380097>, fails started happening with r299199
|
||||
@skipIf(triple='^mips')
|
||||
def test_FPR_SSE(self):
|
||||
# check x86_64 core file
|
||||
|
|
|
@ -23,12 +23,14 @@ class GCoreTestCase(TestBase):
|
|||
_x86_64_pid = 5669
|
||||
|
||||
@skipIf(oslist=['windows'])
|
||||
@skipIfDarwin # <rdar://problem/31380097>, fails started happening with r299199
|
||||
@skipIf(triple='^mips')
|
||||
def test_i386(self):
|
||||
"""Test that lldb can read the process information from an i386 linux core file."""
|
||||
self.do_test("linux-i386", self._i386_pid)
|
||||
|
||||
@skipIf(oslist=['windows'])
|
||||
@skipIfDarwin # <rdar://problem/31380097>, fails started happening with r299199
|
||||
@skipIf(triple='^mips')
|
||||
def test_x86_64(self):
|
||||
"""Test that lldb can read the process information from an x86_64 linux core file."""
|
||||
|
|
|
@ -27,12 +27,14 @@ class LinuxCoreThreadsTestCase(TestBase):
|
|||
_x86_64_tid = 5250
|
||||
|
||||
@skipIf(oslist=['windows'])
|
||||
@skipIfDarwin # <rdar://problem/31380097>, fails started happening with r299199
|
||||
@skipIf(triple='^mips')
|
||||
def test_i386(self):
|
||||
"""Test that lldb can read the process information from an i386 linux core file."""
|
||||
self.do_test("linux-i386", self._i386_pid, self._i386_tid)
|
||||
|
||||
@skipIf(oslist=['windows'])
|
||||
@skipIfDarwin # <rdar://problem/31380097>, fails started happening with r299199
|
||||
@skipIf(triple='^mips')
|
||||
def test_x86_64(self):
|
||||
"""Test that lldb can read the process information from an x86_64 linux core file."""
|
||||
|
|
Loading…
Reference in New Issue