XFAIL two tests for android

bug #23694

llvm-svn: 238558
This commit is contained in:
Pavel Labath 2015-05-29 14:54:46 +00:00
parent 35436a2634
commit 674bc7b0c4
3 changed files with 8 additions and 0 deletions

View File

@ -67,6 +67,7 @@ class CrashingInferiorTestCase(TestBase):
self.inferior_crashing_step_after_break()
@skipIfFreeBSD # llvm.org/pr16684
@expectedFailureAndroid("llvm.org/pr23694")
def test_inferior_crashing_step_after_break_dwarf(self):
"""Test that lldb functions correctly after stepping through a crash."""
self.buildDwarf()

View File

@ -67,6 +67,7 @@ class CrashingRecursiveInferiorTestCase(TestBase):
self.recursive_inferior_crashing_step_after_break()
@skipIfFreeBSD # llvm.org/pr16684
@expectedFailureAndroid("llvm.org/pr23694")
def test_recursive_inferior_crashing_step_after_break_dwarf(self):
"""Test that lldb functions correctly after stepping through a crash."""
self.buildDwarf()

View File

@ -654,6 +654,12 @@ def expectedFailureLinux(bugnumber=None, compilers=None):
def expectedFailureWindows(bugnumber=None, compilers=None):
return expectedFailureOS(['windows'], bugnumber, compilers)
def expectedFailureAndroid(bugnumber=None):
def fn(self):
triple = self.dbg.GetSelectedPlatform().GetTriple()
return re.match(".*-.*-.*-android", triple)
return expectedFailure(fn, bugnumber)
def expectedFailureLLGS(bugnumber=None, compilers=None):
def fn(self):
# llgs local is only an option on Linux targets