Skip to content

Commit eacefba

Browse files
authored
[lldb][Windows] Fixed tests TestPty and TestPtyServer (#92090)
The tests TestPty and TestPtyServer use the Unix specific python builtin module termios. They are failed in case of Windows host and Linux target. Disable them for Windows host too.
1 parent 7621a0d commit eacefba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lldb/test/API/functionalities/gdb_remote_client/TestPty.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase
66

77

8-
@skipIfWindows
8+
@skipIf(hostoslist=["windows"])
99
class TestPty(GDBRemoteTestBase):
1010
server_socket_class = PtyServerSocket
1111

lldb/test/API/tools/lldb-server/TestPtyServer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import xml.etree.ElementTree as ET
88

99

10-
@skipIfWindows
10+
@skipIf(hostoslist=["windows"])
1111
class PtyServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase):
1212
def setUp(self):
1313
super().setUp()

0 commit comments

Comments
 (0)