Skip to content

Commit eede066

Browse files
jiminghamLukacma
authored andcommitted
The test added for PR#164905 doesn't run on Windows. (llvm#165318)
1 parent 7d426b5 commit eede066

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lldb/test/API/driver/stdio_closed/TestDriverWithClosedSTDIO.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,17 @@
1212

1313
import lldbsuite.test.lldbutil as lldbutil
1414
from lldbsuite.test.lldbtest import *
15-
15+
from lldbsuite.test.decorators import *
1616

1717
class TestDriverWithClosedSTDIO(TestBase):
1818
# If your test case doesn't stress debug info, then
1919
# set this to true. That way it won't be run once for
2020
# each debug info format.
2121
NO_DEBUG_INFO_TESTCASE = True
2222

23+
# Windows doesn't have the fcntl module, so we can't run this
24+
# test there.
25+
@skipIf(oslist=["windows"])
2326
def test_run_lldb_and_wait(self):
2427
"""This test forks, closes the stdio channels and exec's lldb.
2528
Then it waits for it to exit and asserts it did that successfully"""

0 commit comments

Comments
 (0)