Skip to content

Support running the test suite from Darwin host on a non-Darwin targetΒ #150806

@JDevlieghere

Description

@JDevlieghere

The LLDB test suite supports running remotely. We have at least tow bots that run Linux and Windows as the host OS and target a remote Linux machine. On Darwin platforms, we rely on this functionality to test remote Darwin devices.

However, we don't seem to support targeting a non-Darwin device from a Darwin host. We use the host platform to pick the builder. Windows and Linux both use the default builder, so there it goes unnoticed. But on Darwin we have a custom one , which for example uses xcrun to find the SDK, which doesn't apply when targeting a non-Darwin device. That's the first issue I ran into, and I worked around it by using lldbplatformutil.getPlatform() instead. There might be more. The purpose of this issue is to track making this configuration work.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions