Skip to content

[lldb/test] Add OpenBSD to _get_platform_os #74036

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

brad0
Copy link
Contributor

@brad0 brad0 commented Dec 1, 2023

No description provided.

@brad0 brad0 requested a review from JDevlieghere as a code owner December 1, 2023 04:10
@llvmbot llvmbot added the lldb label Dec 1, 2023
@llvmbot
Copy link
Member

llvmbot commented Dec 1, 2023

@llvm/pr-subscribers-lldb

Author: Brad Smith (brad0)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/74036.diff

1 Files Affected:

  • (modified) lldb/packages/Python/lldbsuite/test/lldbplatformutil.py (+2)
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 ""

@brad0 brad0 requested a review from bulbazord December 1, 2023 04:55
@brad0 brad0 merged commit 81cd283 into llvm:main Dec 1, 2023
@brad0 brad0 deleted the lldb_lldbplatformutil_openbsd branch December 1, 2023 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants