summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorSiva Chandra <sivachandra@google.com>2015-11-18 21:22:29 +0000
committerSiva Chandra <sivachandra@google.com>2015-11-18 21:22:29 +0000
commitc7ac7d7a9b9e62b81380a7acd6c91f6acb63d9ab (patch)
tree1c05e44b8a74434db8016cff86f9deb46b791481 /lldb/packages/Python/lldbsuite/test
parentc1a46b729be281974b18339298b8fa64bac81151 (diff)
downloadbcm5719-llvm-c7ac7d7a9b9e62b81380a7acd6c91f6acb63d9ab.tar.gz
bcm5719-llvm-c7ac7d7a9b9e62b81380a7acd6c91f6acb63d9ab.zip
[TestExitDuringStep] Adjust after a recent type map change.
Reviewers: zturner Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D14784 llvm-svn: 253505
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/TestExitDuringStep.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/TestExitDuringStep.py b/lldb/packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/TestExitDuringStep.py
index f1f365fee11..67d1c96fd34 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/TestExitDuringStep.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/TestExitDuringStep.py
@@ -98,7 +98,8 @@ class ExitDuringStepTestCase(TestBase):
stepping_thread = None
for thread in process:
expected_bp_desc = "breakpoint %s." % self.bp_num
- if expected_bp_desc in thread.GetStopDescription(100):
+ stop_desc = thread.GetStopDescription(100)
+ if stop_desc and (expected_bp_desc in stop_desc):
stepping_thread = thread
break
self.assertTrue(stepping_thread != None, "unable to find thread stopped at %s" % expected_bp_desc)
OpenPOWER on IntegriCloud