diff options
author | Jim Ingham <jingham@apple.com> | 2016-12-14 19:35:56 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2016-12-14 19:35:56 +0000 |
commit | 09558cb8a46e7b72f0da67241d7d4b01ee8fa025 (patch) | |
tree | 163e12e4780ff34b600b205b4202c23491eb85bb /lldb/packages/Python/lldbsuite | |
parent | ce3bcae6321b23f49547a563c4fe986eafca4d95 (diff) | |
download | bcm5719-llvm-09558cb8a46e7b72f0da67241d7d4b01ee8fa025.tar.gz bcm5719-llvm-09558cb8a46e7b72f0da67241d7d4b01ee8fa025.zip |
Test num locations >= 1 not == 1.
llvm-svn: 289695
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, |