[Lldb-commits] [lldb] eacefba - [lldb][Windows] Fixed tests TestPty and TestPtyServer (#92090)

via lldb-commits lldb-commits at lists.llvm.org
Wed May 15 03:44:29 PDT 2024


Author: Dmitry Vasilyev
Date: 2024-05-15T14:44:24+04:00
New Revision: eacefba9aa3d1a5181d3d49823df24aca0d2b344

URL: https://github.com/llvm/llvm-project/commit/eacefba9aa3d1a5181d3d49823df24aca0d2b344
DIFF: https://github.com/llvm/llvm-project/commit/eacefba9aa3d1a5181d3d49823df24aca0d2b344.diff

LOG: [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.

Added: 
    

Modified: 
    lldb/test/API/functionalities/gdb_remote_client/TestPty.py
    lldb/test/API/tools/lldb-server/TestPtyServer.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/gdb_remote_client/TestPty.py b/lldb/test/API/functionalities/gdb_remote_client/TestPty.py
index 4d4dd489b294a..94eeb6e3ba11a 100644
--- a/lldb/test/API/functionalities/gdb_remote_client/TestPty.py
+++ b/lldb/test/API/functionalities/gdb_remote_client/TestPty.py
@@ -5,7 +5,7 @@
 from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase
 
 
- at skipIfWindows
+ at skipIf(hostoslist=["windows"])
 class TestPty(GDBRemoteTestBase):
     server_socket_class = PtyServerSocket
 

diff  --git a/lldb/test/API/tools/lldb-server/TestPtyServer.py b/lldb/test/API/tools/lldb-server/TestPtyServer.py
index aa5bd635650ac..4bfcf70bfa01b 100644
--- a/lldb/test/API/tools/lldb-server/TestPtyServer.py
+++ b/lldb/test/API/tools/lldb-server/TestPtyServer.py
@@ -7,7 +7,7 @@
 import xml.etree.ElementTree as ET
 
 
- at skipIfWindows
+ at skipIf(hostoslist=["windows"])
 class PtyServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase):
     def setUp(self):
         super().setUp()


        


More information about the lldb-commits mailing list