From 09558cb8a46e7b72f0da67241d7d4b01ee8fa025 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Wed, 14 Dec 2016 19:35:56 +0000 Subject: Test num locations >= 1 not == 1. llvm-svn: 289695 --- .../breakpoint/address_breakpoints/TestAddressBreakpoints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/breakpoint') diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py index 8f96611775b..9b116a0a0a2 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py @@ -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, -- cgit v1.2.3