aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/dotest.py
diff options
context:
space:
mode:
authordlav-sc <daniil.avdeev@syntacore.com>2025-04-01 12:07:44 +0300
committerGitHub <noreply@github.com>2025-04-01 10:07:44 +0100
commitdca7e0370e9684c00d95fb810c4efd31af0a3a9f (patch)
tree90252b71adcfd7ee27fb177406805a7e2d1e3213 /lldb/packages/Python/lldbsuite/test/dotest.py
parent7581cb68f9fbff7a4628da594580d81a803129ee (diff)
downloadllvm-dca7e0370e9684c00d95fb810c4efd31af0a3a9f.zip
llvm-dca7e0370e9684c00d95fb810c4efd31af0a3a9f.tar.gz
llvm-dca7e0370e9684c00d95fb810c4efd31af0a3a9f.tar.bz2
[lldb] add --platform-available-ports option to the dotest.py (#112555)
This patch adds --platform-available-ports option to the dotest.py script to avoid hardcoded gdb ports in lldb testsuite. Currently, this option could be helpful in GdbRemoteTestCases (e.g. TestLldbGdbServer, TestNonStop, TestGdbRemoteThreadsInStopReply, TestGdbRemotePlatformFile, TestGdbRemote_vCont)
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py
index 681ea16..7cc8f29 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -419,6 +419,8 @@ def parseOptionsAndInitTestdirs():
configuration.lldb_platform_url = args.lldb_platform_url
if args.lldb_platform_working_dir:
configuration.lldb_platform_working_dir = args.lldb_platform_working_dir
+ if args.lldb_platform_available_ports:
+ configuration.lldb_platform_available_ports = args.lldb_platform_available_ports
if platform_system == "Darwin" and args.apple_sdk:
configuration.apple_sdk = args.apple_sdk
if args.test_build_dir: