[Lldb-commits] [lldb] r253505 - [TestExitDuringStep] Adjust after a recent type map change.

Siva Chandra via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 18 13:22:29 PST 2015


Author: sivachandra
Date: Wed Nov 18 15:22:29 2015
New Revision: 253505

URL: http://llvm.org/viewvc/llvm-project?rev=253505&view=rev
Log:
[TestExitDuringStep] Adjust after a recent type map change.

Reviewers: zturner

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D14784

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/TestExitDuringStep.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/TestExitDuringStep.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/TestExitDuringStep.py?rev=253505&r1=253504&r2=253505&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/TestExitDuringStep.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/TestExitDuringStep.py Wed Nov 18 15:22:29 2015
@@ -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)




More information about the lldb-commits mailing list