diff --git a/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py b/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py index 8ad5e429c89f..344bc17b7f46 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 cd89fe1cd536..5bc469e25536 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 919d4d6a67e0..d5cc8b44df58 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