[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 13:59:55 PDT 2025


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

None

>From ab745dccf4953a4bc63af9654df329f721df6bb8 Mon Sep 17 00:00:00 2001
From: Jim Ingham <jingham at apple.com>
Date: Mon, 27 Oct 2025 13:57:45 -0700
Subject: [PATCH] The test added for PR#164905 doesn't run on Windows.

---
 lldb/test/API/driver/stdio_closed/TestDriverWithClosedSTDIO.py | 3 +++
 1 file changed, 3 insertions(+)

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"""



More information about the lldb-commits mailing list