[Lldb-commits] [PATCH] D14784: [TestExitDuringStep] Adjust after a recent type map change.
Siva Chandra via lldb-commits
lldb-commits at lists.llvm.org
Wed Nov 18 12:44:53 PST 2015
sivachandra created this revision.
sivachandra added a reviewer: zturner.
sivachandra added a subscriber: lldb-commits.
http://reviews.llvm.org/D14784
Files:
packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/TestExitDuringStep.py
Index: packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/TestExitDuringStep.py
===================================================================
--- packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/TestExitDuringStep.py
+++ packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/TestExitDuringStep.py
@@ -98,7 +98,8 @@
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14784.40540.patch
Type: text/x-patch
Size: 867 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151118/bc552ab3/attachment.bin>
More information about the lldb-commits
mailing list