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

#181283 removed fvc but it still remains in tests. This causes testing on 
non-FreeBSD hosts. Thus add `skipUnlessPlatform` decorator.

>From e2dea79aedcd75d2f5774409c9bbcb1ae8138649 Mon Sep 17 00:00:00 2001
From: Minsoo Choo <[email protected]>
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 <[email protected]>
---
 .../postmortem/FreeBSDKernel/TestFreeBSDKernelVMCore.py     | 6 +++---
 1 file changed, 3 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..ed238f8da83e3 100644
--- 
a/lldb/test/API/functionalities/postmortem/FreeBSDKernel/TestFreeBSDKernelVMCore.py
+++ 
b/lldb/test/API/functionalities/postmortem/FreeBSDKernel/TestFreeBSDKernelVMCore.py
@@ -2,13 +2,13 @@
 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
 
-@skipIfFBSDVMCoreSupportMissing
+@skipUnlessPlatform(["freebsd"])
 class FreeBSDKernelVMCoreTestCase(TestBase):
     NO_DEBUG_INFO_TESTCASE = True
     maxDiff = None

_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to