[Lldb-commits] [lldb] r282966 - IsValid is the way to ask a breakpoint location whether it is valid.

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 30 15:07:42 PDT 2016


Author: jingham
Date: Fri Sep 30 17:07:41 2016
New Revision: 282966

URL: http://llvm.org/viewvc/llvm-project?rev=282966&view=rev
Log:
IsValid is the way to ask a breakpoint location whether it is valid.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_case_sensitivity/TestBreakpointCaseSensitivity.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_case_sensitivity/TestBreakpointCaseSensitivity.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_case_sensitivity/TestBreakpointCaseSensitivity.py?rev=282966&r1=282965&r2=282966&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_case_sensitivity/TestBreakpointCaseSensitivity.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_case_sensitivity/TestBreakpointCaseSensitivity.py Fri Sep 30 17:07:41 2016
@@ -27,7 +27,7 @@ class BreakpointCaseSensitivityTestCase(
 
     @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(
         # 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)
 




More information about the lldb-commits mailing list