[Lldb-commits] [lldb] The test added for PR#164905 doesn't run on Windows. (PR #165318)

via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 27 14:00:32 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: None (jimingham)

<details>
<summary>Changes</summary>



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


1 Files Affected:

- (modified) lldb/test/API/driver/stdio_closed/TestDriverWithClosedSTDIO.py (+3) 


``````````diff
diff --git a/lldb/test/API/driver/stdio_closed/TestDriverWithClosedSTDIO.py b/lldb/test/API/driver/stdio_closed/TestDriverWithClosedSTDIO.py
index cff97b822db81..45a59f7839964 100644
--- a/lldb/test/API/driver/stdio_closed/TestDriverWithClosedSTDIO.py
+++ b/lldb/test/API/driver/stdio_closed/TestDriverWithClosedSTDIO.py
@@ -20,6 +20,9 @@ class TestDriverWithClosedSTDIO(TestBase):
     # each debug info format.
     NO_DEBUG_INFO_TESTCASE = True
 
+    # Windows doesn't have the fcntl module, so we can't run this
+    # test there.
+    @skipIf(oslist=["windows"])
     def test_run_lldb_and_wait(self):
         """This test forks, closes the stdio channels and exec's lldb.
         Then it waits for it to exit and asserts it did that successfully"""

``````````

</details>


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


More information about the lldb-commits mailing list