diff options
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoints/Makefile (renamed from lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoins/Makefile) | 0 | ||||
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoints/TestConsecutiveBreakpoints.py (renamed from lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoins/TestConsecutiveBreakpoints.py) | 12 | ||||
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoints/main.cpp (renamed from lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoins/main.cpp) | 0 |
3 files changed, 6 insertions, 6 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoins/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoints/Makefile index f89b52a972e..f89b52a972e 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoins/Makefile +++ b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoints/Makefile diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoins/TestConsecutiveBreakpoints.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoints/TestConsecutiveBreakpoints.py index 1a3b26f4548..61379bd5ee7 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoins/TestConsecutiveBreakpoints.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoints/TestConsecutiveBreakpoints.py @@ -11,7 +11,7 @@ import lldb import lldbsuite.test.lldbutil as lldbutil from lldbsuite.test.lldbtest import * -class ConsecutiveBreakpoitsTestCase(TestBase): +class ConsecutiveBreakpointsTestCase(TestBase): mydir = TestBase.compute_mydir(__file__) @@ -19,7 +19,7 @@ class ConsecutiveBreakpoitsTestCase(TestBase): def test (self): self.build () self.consecutive_breakpoints_tests() - + def consecutive_breakpoints_tests(self): exe = os.path.join (os.getcwd(), "a.out") @@ -28,8 +28,8 @@ class ConsecutiveBreakpoitsTestCase(TestBase): self.assertTrue(target, VALID_TARGET) breakpoint1 = target.BreakpointCreateBySourceRegex("Set breakpoint here", lldb.SBFileSpec("main.cpp")) - self.assertTrue(breakpoint and - breakpoint.GetNumLocations() == 1, + self.assertTrue(breakpoint1 and + breakpoint1.GetNumLocations() == 1, VALID_BREAKPOINT) # Now launch the process, and do not stop at entry point. @@ -42,12 +42,12 @@ class ConsecutiveBreakpoitsTestCase(TestBase): # Set breakpoint to the next instruction frame = thread.GetFrameAtIndex(0) - + address = frame.GetPCAddress() instructions = target.ReadInstructions(address, 2) self.assertTrue(len(instructions) == 2) address = instructions[1].GetAddress() - + breakpoint2 = target.BreakpointCreateByAddress(address.GetLoadAddress(target)) process.Continue() diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoins/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoints/main.cpp index c1943f03dbf..c1943f03dbf 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoins/main.cpp +++ b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoints/main.cpp |