[Lldb-commits] [lldb] fc1df55 - [lldb][Windows] Fixed the test gdb_remote_client/TestGDBRemotePlatformFile (#92088)
via lldb-commits
lldb-commits at lists.llvm.org
Wed May 15 09:51:01 PDT 2024
Author: Dmitry Vasilyev
Date: 2024-05-15T20:50:58+04:00
New Revision: fc1df55bcf9b6cc2dec157bcd188b471bc91b945
URL: https://github.com/llvm/llvm-project/commit/fc1df55bcf9b6cc2dec157bcd188b471bc91b945
DIFF: https://github.com/llvm/llvm-project/commit/fc1df55bcf9b6cc2dec157bcd188b471bc91b945.diff
LOG: [lldb][Windows] Fixed the test gdb_remote_client/TestGDBRemotePlatformFile (#92088)
The tests `test_file_permissions` and `test_file_permissions_fallback`
are disabled for Windows target. These tests use MockGDBServerResponder
and do not depend on the real target. These tests failed in case of
Windows host and Linux target. Disable them for Windows host too.
Added:
Modified:
lldb/test/API/functionalities/gdb_remote_client/TestGDBRemotePlatformFile.py
Removed:
################################################################################
diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemotePlatformFile.py b/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemotePlatformFile.py
index 2be5ae3132038..c902722a2f74b 100644
--- a/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemotePlatformFile.py
+++ b/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemotePlatformFile.py
@@ -147,7 +147,9 @@ def vFile(self, packet):
log=server2.responder.packetLog,
)
- @skipIfWindows
+ @expectedFailureAll(
+ hostoslist=["windows"], bugnumber="github.com/llvm/llvm-project/issues/92255"
+ )
def test_file_permissions(self):
"""Test 'platform get-permissions'"""
@@ -167,7 +169,9 @@ def vFile(self, packet):
]
)
- @skipIfWindows
+ @expectedFailureAll(
+ hostoslist=["windows"], bugnumber="github.com/llvm/llvm-project/issues/92255"
+ )
def test_file_permissions_fallback(self):
"""Test 'platform get-permissions' fallback to fstat"""
More information about the lldb-commits
mailing list