[Lldb-commits] [lldb] 9a4379c - [lldb] [test] Skip file permission tests on Windows

Michał Górny via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 10 07:23:55 PDT 2021


Author: Michał Górny
Date: 2021-09-10T16:23:42+02:00
New Revision: 9a4379c3dcab8f7d99975eb6741fe17d1788e461

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

LOG: [lldb] [test] Skip file permission tests on Windows

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 0e242fc2d1c0..cc38e1775bbe 100644
--- a/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemotePlatformFile.py
+++ b/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemotePlatformFile.py
@@ -1,5 +1,7 @@
 from gdbclientutils import *
 
+from lldbsuite.test.decorators import *
+
 class TestGDBRemotePlatformFile(GDBPlatformClientTestBase):
 
     def test_file(self):
@@ -103,6 +105,7 @@ def vFile(self, packet):
             "vFile:close:5",
             ])
 
+    @skipIfWindows
     def test_file_permissions(self):
         """Test 'platform get-permissions'"""
 
@@ -118,6 +121,7 @@ def vFile(self, packet):
             "vFile:mode:2f736f6d652f66696c652e747874",
             ])
 
+    @skipIfWindows
     def test_file_permissions_fallback(self):
         """Test 'platform get-permissions' fallback to fstat"""
 


        


More information about the lldb-commits mailing list