diff options
author | Siva Chandra <sivachandra@google.com> | 2015-11-18 21:22:29 +0000 |
---|---|---|
committer | Siva Chandra <sivachandra@google.com> | 2015-11-18 21:22:29 +0000 |
commit | c7ac7d7a9b9e62b81380a7acd6c91f6acb63d9ab (patch) | |
tree | 1c05e44b8a74434db8016cff86f9deb46b791481 /lldb/packages/Python/lldbsuite/test | |
parent | c1a46b729be281974b18339298b8fa64bac81151 (diff) | |
download | bcm5719-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.py | 3 |
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) |