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

via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 19 12:22:31 PST 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Minsoo Choo (mchoo7)

<details>
<summary>Changes</summary>

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

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


1 Files Affected:

- (modified) lldb/test/API/functionalities/postmortem/FreeBSDKernel/TestFreeBSDKernelVMCore.py (+3-3) 


``````````diff
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

``````````

</details>


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


More information about the lldb-commits mailing list