[Lldb-commits] [lldb] eb9e526 - [lldb] Pick the builder for the target platform (#151262)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 30 08:24:31 PDT 2025
Author: Jonas Devlieghere
Date: 2025-07-30T08:24:28-07:00
New Revision: eb9e526af050611ceafa6a53b73d72a7d3ea065c
URL: https://github.com/llvm/llvm-project/commit/eb9e526af050611ceafa6a53b73d72a7d3ea065c
DIFF: https://github.com/llvm/llvm-project/commit/eb9e526af050611ceafa6a53b73d72a7d3ea065c.diff
LOG: [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.
Added:
Modified:
lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
Removed:
################################################################################
diff --git a/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py b/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
index a1ab06076dcb2..cea6270695dc0 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():
More information about the lldb-commits
mailing list