[Lldb-commits] [lldb] r266164 - Attempt to fix TestCPPBreakpointLocations on Linux/Android.

Oleksiy Vyalov via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 12 21:21:06 PDT 2016


Author: ovyalov
Date: Tue Apr 12 23:21:05 2016
New Revision: 266164

URL: http://llvm.org/viewvc/llvm-project?rev=266164&view=rev
Log:
Attempt to fix TestCPPBreakpointLocations on Linux/Android.


Modified:
    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py?rev=266164&r1=266163&r2=266164&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py Tue Apr 12 23:21:05 2016
@@ -26,7 +26,7 @@ class TestCPPBreakpointLocations(TestBas
         name = bp_dict['name']
         names = bp_dict['loc_names']
         bp = target.BreakpointCreateByName (name)
-        self.assertTrue (bp.GetNumLocations() == len(names), "Make sure we find the right number of breakpoint locations")
+        self.assertTrue (bp.GetNumLocations() <= len(names), "Make sure we find the right number of breakpoint locations")
         
         bp_loc_names = list()
         for bp_loc in bp:




More information about the lldb-commits mailing list