[Lldb-commits] [lldb] [lldb][test] Set target OS for API tests in case of remote testing (PR #96654)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Tue Jul 9 03:59:24 PDT 2024
================
@@ -113,6 +130,10 @@ def _get_platform_os(p):
platform = "openbsd"
return platform
+ # Triple is not available if we're not connected yet
+ if p.GetName() == "remote-linux":
+ return "linux"
+
----------------
labath wrote:
Can you explain why was this necessary? I get the connected part, but who was asking for the platform before connecting?
https://github.com/llvm/llvm-project/pull/96654
More information about the lldb-commits
mailing list