summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/gdb_remote_client/TestPlatformClient.py
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2021-11-11 20:11:14 +0100
committerPavel Labath <pavel@labath.sk>2021-11-16 11:35:56 +0100
commit33c0f93f6c10acff885fe11b9897943313cd5c26 (patch)
tree8c18c762cabbb43c6b8cc08e5538b31169196bd2 /lldb/test/API/functionalities/gdb_remote_client/TestPlatformClient.py
parent5b84ae7c48083bd0f40199837990cf915a2053b8 (diff)
[lldb/test] Move gdb client utils into the packages tree
This infrastructure has proven proven its worth, so give it a more prominent place. My immediate motivation for this is the desire to reuse this infrastructure for qemu platform testing, but I believe this move makes sense independently of that. Moving this code to the packages tree will allow as to add more structure to the gdb client tests -- currently they are all crammed into the same test folder as that was the only way they could access this code. I'm splitting the code into two parts while moving it. The first once contains just the generic gdb protocol wrappers, while the other one contains the unit test glue. The reason for that is that for qemu testing, I need to run the gdb code in a separate process, so I will only be using the first part there. Differential Revision: https://reviews.llvm.org/D113893
Diffstat (limited to 'lldb/test/API/functionalities/gdb_remote_client/TestPlatformClient.py')
-rw-r--r--lldb/test/API/functionalities/gdb_remote_client/TestPlatformClient.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestPlatformClient.py b/lldb/test/API/functionalities/gdb_remote_client/TestPlatformClient.py
index ff32a6e0093a..7dec787b07bd 100644
--- a/lldb/test/API/functionalities/gdb_remote_client/TestPlatformClient.py
+++ b/lldb/test/API/functionalities/gdb_remote_client/TestPlatformClient.py
@@ -4,13 +4,16 @@ import os
import time
from lldbsuite.test.lldbtest import *
from lldbsuite.test.decorators import *
-from gdbclientutils import *
+from lldbsuite.test.gdbclientutils import *
+from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase
def hexlify(string):
return binascii.hexlify(string.encode()).decode()
class TestPlatformClient(GDBRemoteTestBase):
+ mydir = TestBase.compute_mydir(__file__)
+
def test_process_list_with_all_users(self):
"""Test connecting to a remote linux platform"""