summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-06-25 12:57:35 +0000
committerPavel Labath <labath@google.com>2015-06-25 12:57:35 +0000
commit57d7232f401d664792d8fb44cf6e49d7d601c38d (patch)
tree3c286beb184f4b97c352ebe7a1b554fc90f6216f /lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py
parenta64e5405118dca46f87fb6fe83db6314377a4e86 (diff)
downloadbcm5719-llvm-57d7232f401d664792d8fb44cf6e49d7d601c38d.tar.gz
bcm5719-llvm-57d7232f401d664792d8fb44cf6e49d7d601c38d.zip
Enable TestInferiorCrashing and TestRecursiveInferior on android
Summary: the original bug was fixed (a rogue breakpoint messing up inferior data structures) and the tests seems to pass now. Since android has a default SEGV handler, I have had to alter the test expectation in this case. Test Plan: Tests pass on android arm. Reviewers: tberghammer Subscribers: tberghammer, aemerson, lldb-commits Differential Revision: http://reviews.llvm.org/D10733 llvm-svn: 240638
Diffstat (limited to 'lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py')
-rw-r--r--lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py4
1 files changed, 3 insertions, 1 deletions
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