[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:21:56 PST 2026
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 <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 | 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
- at skipIfFBSDVMCoreSupportMissing
+ at skipUnlessPlatform(["freebsd"])
class FreeBSDKernelVMCoreTestCase(TestBase):
NO_DEBUG_INFO_TESTCASE = True
maxDiff = None
More information about the lldb-commits
mailing list