diff options
author | Jim Ingham <jingham@apple.com> | 2016-09-30 22:07:41 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2016-09-30 22:07:41 +0000 |
commit | 8231b05c7d63dfe24fa5c5fbca7e1c76af464d08 (patch) | |
tree | 71a5ef77fa12d5f8edafc2054efb7f6b6ae95a53 /lldb/packages/Python/lldbsuite/test | |
parent | 7a9c29e4b8d8be5eeb5684058652bd2c36919773 (diff) | |
download | bcm5719-llvm-8231b05c7d63dfe24fa5c5fbca7e1c76af464d08.tar.gz bcm5719-llvm-8231b05c7d63dfe24fa5c5fbca7e1c76af464d08.zip |
IsValid is the way to ask a breakpoint location whether it is valid.
llvm-svn: 282966
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_case_sensitivity/TestBreakpointCaseSensitivity.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_case_sensitivity/TestBreakpointCaseSensitivity.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_case_sensitivity/TestBreakpointCaseSensitivity.py index bd5ae0e541d..798f91e7eac 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_case_sensitivity/TestBreakpointCaseSensitivity.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_case_sensitivity/TestBreakpointCaseSensitivity.py @@ -27,7 +27,7 @@ class BreakpointCaseSensitivityTestCase(TestBase): @skipIf(oslist=['windows']) # Skip for windows platforms # Failing for unknown reason on non-Windows platforms. - @expectedFailureAll() + def test_breakpoint_doesnt_match_file_with_different_case(self): """Set breakpoint on file, shouldn't match files with different case on POSIX systems""" self.build() @@ -98,7 +98,8 @@ class BreakpointCaseSensitivityTestCase(TestBase): # Get the breakpoint location from breakpoint after we verified that, # indeed, it has one location. location = breakpoint.GetLocationAtIndex(0) - self.assertEqual(location and location.IsEnabled(), + + self.assertEqual(location.IsValid(), should_hit, VALID_BREAKPOINT_LOCATION + desc) |