[Lldb-commits] [lldb] [lldb/test] Add OpenBSD to _get_platform_os (PR #74036)

Brad Smith via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 30 20:10:25 PST 2023


https://github.com/brad0 created https://github.com/llvm/llvm-project/pull/74036

None

>From 260de5f42f3216321349ff316ff800c5fa2c60f9 Mon Sep 17 00:00:00 2001
From: Brad Smith <brad at comstyle.com>
Date: Thu, 30 Nov 2023 23:07:45 -0500
Subject: [PATCH] [lldb/test] Add OpenBSD to _get_platform_os

---
 lldb/packages/Python/lldbsuite/test/lldbplatformutil.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py b/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
index 4b58ab3814626c4..37d06f7e88f98ca 100644
--- a/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
+++ b/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
@@ -108,6 +108,8 @@ def _get_platform_os(p):
             platform = "freebsd"
         elif platform.startswith("netbsd"):
             platform = "netbsd"
+        elif platform.startswith("openbsd"):
+            platform = "openbsd"
         return platform
 
     return ""



More information about the lldb-commits mailing list