From 03fca2bae44868dbe771d5fb90c6187674e50079 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Tue, 29 Jul 2025 17:31:30 -0700 Subject: [PATCH] [lldb] Pick the builder for the target platform 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. --- lldb/packages/Python/lldbsuite/test/lldbplatformutil.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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():