[Lldb-commits] [lldb] [lldb][tests/FreeBSDKernel] Skip tests on non-FreeBSD hosts (PR #182363)

Minsoo Choo via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 19 12:23:17 PST 2026


https://github.com/mchoo7 updated https://github.com/llvm/llvm-project/pull/182363

>From 75335e733d824024544ac0569ef00dda8ed2a568 Mon Sep 17 00:00:00 2001
From: Minsoo Choo <minsoochoo0122 at proton.me>
Date: Thu, 19 Feb 2026 15:19:29 -0500
Subject: [PATCH] [lldb][tests/FreeBSDKernel] Skip tests on non-FreeBSD hosts

Signed-off-by: Minsoo Choo <minsoochoo0122 at proton.me>
---
 .../postmortem/FreeBSDKernel/TestFreeBSDKernelVMCore.py    | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/lldb/test/API/functionalities/postmortem/FreeBSDKernel/TestFreeBSDKernelVMCore.py b/lldb/test/API/functionalities/postmortem/FreeBSDKernel/TestFreeBSDKernelVMCore.py
index 86ba661296a7f..a4b007e934f77 100644
--- a/lldb/test/API/functionalities/postmortem/FreeBSDKernel/TestFreeBSDKernelVMCore.py
+++ b/lldb/test/API/functionalities/postmortem/FreeBSDKernel/TestFreeBSDKernelVMCore.py
@@ -2,13 +2,14 @@
 import shutil
 import struct
 
-import lldb
+from lldbsuite.test import lldbutil
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
-from lldbsuite.test import lldbutil
+
+import lldb
 
 
- at skipIfFBSDVMCoreSupportMissing
+ at skipUnlessPlatform(["freebsd"])
 class FreeBSDKernelVMCoreTestCase(TestBase):
     NO_DEBUG_INFO_TESTCASE = True
     maxDiff = None



More information about the lldb-commits mailing list