[Lldb-commits] [lldb] 7a7237b - The test added for PR#164905 doesn't run on Windows. (#165318)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 27 15:43:46 PDT 2025
Author: jimingham
Date: 2025-10-27T15:43:42-07:00
New Revision: 7a7237b3541a6dc49d3a151770b6962424f904a2
URL: https://github.com/llvm/llvm-project/commit/7a7237b3541a6dc49d3a151770b6962424f904a2
DIFF: https://github.com/llvm/llvm-project/commit/7a7237b3541a6dc49d3a151770b6962424f904a2.diff
LOG: The test added for PR#164905 doesn't run on Windows. (#165318)
Added:
Modified:
lldb/test/API/driver/stdio_closed/TestDriverWithClosedSTDIO.py
Removed:
################################################################################
diff --git a/lldb/test/API/driver/stdio_closed/TestDriverWithClosedSTDIO.py b/lldb/test/API/driver/stdio_closed/TestDriverWithClosedSTDIO.py
index cff97b822db81..751926b116002 100644
--- a/lldb/test/API/driver/stdio_closed/TestDriverWithClosedSTDIO.py
+++ b/lldb/test/API/driver/stdio_closed/TestDriverWithClosedSTDIO.py
@@ -12,7 +12,7 @@
import lldbsuite.test.lldbutil as lldbutil
from lldbsuite.test.lldbtest import *
-
+from lldbsuite.test.decorators import *
class TestDriverWithClosedSTDIO(TestBase):
# If your test case doesn't stress debug info, then
@@ -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