summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/inferior-changed/TestInferiorChanged.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookMechanism.py5
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py5
3 files changed, 8 insertions, 5 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/inferior-changed/TestInferiorChanged.py b/lldb/packages/Python/lldbsuite/test/functionalities/inferior-changed/TestInferiorChanged.py
index 6462a0b4428..8b6c1cdb1ca 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/inferior-changed/TestInferiorChanged.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/inferior-changed/TestInferiorChanged.py
@@ -6,6 +6,7 @@ from __future__ import print_function
import os, time
import lldb
+from lldbsuite.test import configuration
from lldbsuite.test.lldbtest import *
import lldbsuite.test.lldbutil as lldbutil
@@ -55,7 +56,7 @@ class ChangedInferiorTestCase(TestBase):
"""Test lldb reloads the inferior after it was changed during the session."""
self.runCmd("process kill")
# Prod the lldb-platform that we have a newly built inferior ready.
- if lldb.lldbtest_remote_sandbox:
+ if configuration.lldbtest_remote_sandbox:
self.runCmd("file " + self.exe, CURRENT_EXECUTABLE_SET)
self.runCmd("run", RUN_SUCCEEDED)
self.runCmd("process status")
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookMechanism.py b/lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookMechanism.py
index fcdee6918aa..7785d85772e 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookMechanism.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookMechanism.py
@@ -8,6 +8,7 @@ from __future__ import print_function
import os
import lldb
+from lldbsuite.test import configuration
from lldbsuite.test.lldbtest import *
class StopHookMechanismTestCase(TestBase):
@@ -47,9 +48,9 @@ class StopHookMechanismTestCase(TestBase):
child.expect_exact(prompt)
child.sendline('platform select %s' % lldb.remote_platform.GetName())
child.expect_exact(prompt)
- child.sendline('platform connect %s' % lldb.platform_url)
+ child.sendline('platform connect %s' % configuration.lldb_platform_url)
child.expect_exact(prompt)
- child.sendline('platform settings -w %s' % lldb.remote_platform_working_dir)
+ child.sendline('platform settings -w %s' % configuration.lldb_platform_working_dir)
child.expect_exact(prompt)
child.sendline('target create %s' % exe)
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py b/lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py
index 88ea847d682..c7fb53d495e 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py
@@ -8,6 +8,7 @@ from __future__ import print_function
import os, time
import lldb
+from lldbsuite.test import configuration
from lldbsuite.test.lldbtest import *
class StopHookForMultipleThreadsTestCase(TestBase):
@@ -49,9 +50,9 @@ class StopHookForMultipleThreadsTestCase(TestBase):
child.expect_exact(prompt)
child.sendline('platform select %s' % lldb.remote_platform.GetName())
child.expect_exact(prompt)
- child.sendline('platform connect %s' % lldb.platform_url)
+ child.sendline('platform connect %s' % configuration.lldb_platform_url)
child.expect_exact(prompt)
- child.sendline('platform settings -w %s' % lldb.remote_platform_working_dir)
+ child.sendline('platform settings -w %s' % configuration.lldb_platform_working_dir)
child.expect_exact(prompt)
child.sendline('target create %s' % exe)
OpenPOWER on IntegriCloud