diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2025-07-30 08:24:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-30 08:24:28 -0700 |
commit | eb9e526af050611ceafa6a53b73d72a7d3ea065c (patch) | |
tree | 0f6aeab836974e7364169a3e20eb25781eccb1d9 /lldb/packages/Python/lldbsuite/test | |
parent | 88c23ada9a037bca94927796b4cefab54d11a7d1 (diff) | |
download | llvm-eb9e526af050611ceafa6a53b73d72a7d3ea065c.zip llvm-eb9e526af050611ceafa6a53b73d72a7d3ea065c.tar.gz llvm-eb9e526af050611ceafa6a53b73d72a7d3ea065c.tar.bz2 |
[lldb] Pick the builder for the target platform (#151262)
Pick the builder for the target platform, not the host platform. This is
necessary when running the test suite remotely on a different platform.
Unlike for Darwin, both Windows and Linux us the default builder, which
is why this went unnoticed on the remote-linux bots.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/lldbplatformutil.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py b/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py index a1ab060..cea6270 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py +++ b/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py @@ -229,7 +229,8 @@ def hasChattyStderr(test_case): def builder_module(): - return get_builder(sys.platform) + """Return the builder for the target platform.""" + return get_builder(getPlatform()) def getArchitecture(): |