https://github.com/slydiman created 
https://github.com/llvm/llvm-project/pull/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.

>From b5b4b996bfa0cdba70f7935e452d6adde6b3cc15 Mon Sep 17 00:00:00 2001
From: Dmitry Vasilyev <dvassil...@accesssoftek.com>
Date: Tue, 14 May 2024 13:18:42 +0400
Subject: [PATCH] [lldb][Windows] Fixed tests TestPty and TestPtyServer

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.
---
 lldb/test/API/functionalities/gdb_remote_client/TestPty.py | 1 +
 lldb/test/API/tools/lldb-server/TestPtyServer.py           | 1 +
 2 files changed, 2 insertions(+)

diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestPty.py 
b/lldb/test/API/functionalities/gdb_remote_client/TestPty.py
index 4d4dd489b294a..9e5c780a24b1b 100644
--- a/lldb/test/API/functionalities/gdb_remote_client/TestPty.py
+++ b/lldb/test/API/functionalities/gdb_remote_client/TestPty.py
@@ -6,6 +6,7 @@
 
 
 @skipIfWindows
+@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..7d91d762cb3ba 100644
--- a/lldb/test/API/tools/lldb-server/TestPtyServer.py
+++ b/lldb/test/API/tools/lldb-server/TestPtyServer.py
@@ -8,6 +8,7 @@
 
 
 @skipIfWindows
+@skipIf(hostoslist=["windows"])
 class PtyServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase):
     def setUp(self):
         super().setUp()

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to