Skip to content

Commit 15311d5

Browse files
committed
[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.
1 parent bbf2304 commit 15311d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
class TestExecutableIsFirst(TestBase):
1111
NO_DEBUG_INFO_TESTCASE = True
1212

13+
# ELF does not have a hard distinction between shared libraries and
14+
# (position-independent) executables
15+
@skipIf(oslist=no_match(lldbplatformutil.getDarwinOSTriples()+["windows"]))
1316
def test_executable_is_first_before_run(self):
1417
self.build()
1518

0 commit comments

Comments
 (0)