Author: Pavel Labath
Date: 2024-01-17T10:36:44Z
New Revision: 15311d5822f5fcaf53bc7cfc728ad2b477a430e4

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

LOG: [lldb] Skip TestExecutableFirst.test_executable_is_first_before_run on ELF

ELF does not have a hard distinction between shared libraries (and
position-independent) executables. It is possible to create a shared
library that will also be executable.

Added: 
    

Modified: 
    lldb/test/API/functionalities/executable_first/TestExecutableFirst.py

Removed: 
    


################################################################################
diff  --git 
a/lldb/test/API/functionalities/executable_first/TestExecutableFirst.py 
b/lldb/test/API/functionalities/executable_first/TestExecutableFirst.py
index 957628f695c128..4f753239f3dbb8 100644
--- a/lldb/test/API/functionalities/executable_first/TestExecutableFirst.py
+++ b/lldb/test/API/functionalities/executable_first/TestExecutableFirst.py
@@ -10,6 +10,9 @@
 class TestExecutableIsFirst(TestBase):
     NO_DEBUG_INFO_TESTCASE = True
 
+    # ELF does not have a hard distinction between shared libraries and
+    # (position-independent) executables
+    @skipIf(oslist=no_match(lldbplatformutil.getDarwinOSTriples()+["windows"]))
     def test_executable_is_first_before_run(self):
         self.build()
 


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

Reply via email to