summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py3
-rw-r--r--lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py4
2 files changed, 5 insertions, 2 deletions
diff --git a/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py b/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py
index fd78a9a76ef..3b3b551f759 100644
--- a/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py
+++ b/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py
@@ -68,7 +68,6 @@ 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()
@@ -215,6 +214,8 @@ class CrashingInferiorTestCase(TestBase):
expected_state = 'exited' # Provide the exit code.
if self.platformIsDarwin():
expected_state = 'stopped' # TODO: Determine why 'next' and 'continue' have no effect after a crash.
+ elif re.match(".*-.*-.*-android", self.dbg.GetSelectedPlatform().GetTriple()):
+ expected_state = 'stopped' # android has a default SEGV handler, which will re-raise the signal, so we come up stopped again
self.expect("next",
substrs = ['Process', expected_state])
diff --git a/lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py b/lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py
index 4e1604ad1d1..8481510e943 100644
--- a/lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py
+++ b/lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py
@@ -68,7 +68,6 @@ 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()
@@ -212,6 +211,9 @@ class CrashingRecursiveInferiorTestCase(TestBase):
expected_state = 'exited' # Provide the exit code.
if self.platformIsDarwin():
expected_state = 'stopped' # TODO: Determine why 'next' and 'continue' have no effect after a crash.
+ elif re.match(".*-.*-.*-android", self.dbg.GetSelectedPlatform().GetTriple()):
+ expected_state = 'stopped' # android has a default SEGV handler, which will re-raise the signal, so we come up stopped again
+
self.expect("next",
substrs = ['Process', expected_state])
OpenPOWER on IntegriCloud