[Lldb-commits] [lldb] r289695 - Test num locations >= 1 not == 1.

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 14 11:35:56 PST 2016


Author: jingham
Date: Wed Dec 14 13:35:56 2016
New Revision: 289695

URL: http://llvm.org/viewvc/llvm-project?rev=289695&view=rev
Log:
Test num locations >= 1 not == 1.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py?rev=289695&r1=289694&r2=289695&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py Wed Dec 14 13:35:56 2016
@@ -40,7 +40,7 @@ class AddressBreakpointTestCase(TestBase
         breakpoint = target.BreakpointCreateBySourceRegex(
             "Set a breakpoint here", lldb.SBFileSpec("main.c"))
         self.assertTrue(breakpoint and
-                        breakpoint.GetNumLocations() == 1,
+                        breakpoint.GetNumLocations() >= 1,
                         VALID_BREAKPOINT)
 
         # Get the breakpoint location from breakpoint after we verified that,




More information about the lldb-commits mailing list