Skip to content

Commit eb9e526

Browse files
authored
[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.
1 parent 88c23ad commit eb9e526

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/packages/Python/lldbsuite/test/lldbplatformutil.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,8 @@ def hasChattyStderr(test_case):
229229

230230

231231
def builder_module():
232-
return get_builder(sys.platform)
232+
"""Return the builder for the target platform."""
233+
return get_builder(getPlatform())
233234

234235

235236
def getArchitecture():

0 commit comments

Comments
 (0)