summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/lldbutil
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/lldbutil')
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py4
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py8
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py4
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py4
4 files changed, 10 insertions, 10 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py
index 831c68a2f77..5128ac9850f 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py
@@ -8,7 +8,7 @@ import use_lldb_suite
import os
import lldb
-from lldbtest import *
+from lldbsuite.test.lldbtest import *
class FrameUtilsTestCase(TestBase):
@@ -41,7 +41,7 @@ class FrameUtilsTestCase(TestBase):
self.assertTrue(process.GetState() == lldb.eStateStopped,
PROCESS_STOPPED)
- import lldbutil
+ import lldbsuite.test.lldbutil as lldbutil
thread = lldbutil.get_stopped_thread(process, lldb.eStopReasonBreakpoint)
self.assertTrue (thread)
frame0 = thread.GetFrameAtIndex(0)
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py
index d8842546268..0c16bf69534 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py
@@ -9,7 +9,7 @@ import use_lldb_suite
import os, time
import re
import lldb
-from lldbtest import *
+from lldbsuite.test.lldbtest import *
class LLDBIteratorTestCase(TestBase):
@@ -40,7 +40,7 @@ class LLDBIteratorTestCase(TestBase):
if not process:
self.fail("SBTarget.LaunchProcess() failed")
- from lldbutil import get_description
+ from lldbsuite.test.lldbutil import get_description
yours = []
for i in range(target.GetNumModules()):
yours.append(target.GetModuleAtIndex(i))
@@ -72,7 +72,7 @@ class LLDBIteratorTestCase(TestBase):
self.assertTrue(target.GetNumBreakpoints() == 2)
- from lldbutil import get_description
+ from lldbsuite.test.lldbutil import get_description
yours = []
for i in range(target.GetNumBreakpoints()):
yours.append(target.GetBreakpointAtIndex(i))
@@ -106,7 +106,7 @@ class LLDBIteratorTestCase(TestBase):
if not process:
self.fail("SBTarget.LaunchProcess() failed")
- from lldbutil import print_stacktrace
+ from lldbsuite.test.lldbutil import print_stacktrace
stopped_due_to_breakpoint = False
for thread in process:
if self.TraceOn():
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py
index 6c2dd4e83d2..cd8263e6cca 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py
@@ -9,7 +9,7 @@ import use_lldb_suite
import os, time
import re
import lldb
-from lldbtest import *
+from lldbsuite.test.lldbtest import *
class RegistersIteratorTestCase(TestBase):
@@ -40,7 +40,7 @@ class RegistersIteratorTestCase(TestBase):
if not process:
self.fail("SBTarget.LaunchProcess() failed")
- import lldbutil
+ import lldbsuite.test.lldbutil as lldbutil
for thread in process:
if thread.GetStopReason() == lldb.eStopReasonBreakpoint:
for frame in thread:
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py
index 0632779b12d..6ba2b68e224 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py
@@ -9,7 +9,7 @@ import use_lldb_suite
import os, time
import re
import lldb
-from lldbtest import *
+from lldbsuite.test.lldbtest import *
class ThreadsStackTracesTestCase(TestBase):
@@ -41,7 +41,7 @@ class ThreadsStackTracesTestCase(TestBase):
if not process:
self.fail("SBTarget.LaunchProcess() failed")
- import lldbutil
+ import lldbsuite.test.lldbutil as lldbutil
if process.GetState() != lldb.eStateStopped:
self.fail("Process should be in the 'stopped' state, "
"instead the actual state is: '%s'" %
OpenPOWER on IntegriCloud