From: Pavel Labath Date: Fri, 29 May 2015 14:54:46 +0000 (+0000) Subject: XFAIL two tests for android X-Git-Tag: llvmorg-3.7.0-rc1~3480 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=674bc7b0c4d3f2f3edac0b6889d5e0bf2a02edfb;p=platform%2Fupstream%2Fllvm.git XFAIL two tests for android bug #23694 llvm-svn: 238558 --- diff --git a/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py b/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py index 8ad5e42..344bc17 100644 --- a/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py +++ b/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py @@ -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() diff --git a/lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py b/lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py index cd89fe1..5bc469e 100644 --- a/lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py +++ b/lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py @@ -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() diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py index 919d4d6..d5cc8b4 100644 --- a/lldb/test/lldbtest.py +++ b/lldb/test/lldbtest.py @@ -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