Skip to content

Commit c7f0b33

Browse files
committed
[lldb] Fix TestFunctionStarts.py on AS
The tests strips the binary which invalidates the code signature. Skip code signing for this test. (cherry picked from commit 825a08f)
1 parent f99e924 commit c7f0b33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/test/API/macosx/function-starts/TestFunctionStarts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ class FunctionStartsTestCase(TestBase):
2222
@skipIfReproducer # File synchronization is not supported during replay.
2323
def test_function_starts_binary(self):
2424
"""Test that we make synthetic symbols when we have the binary."""
25-
self.build()
25+
self.build(dictionary={'CODESIGN': ''}) # Binary is getting stripped later.
2626
self.do_function_starts(False)
2727

2828
@skipIfRemote
2929
@skipUnlessDarwin
3030
@skipIfReproducer # File synchronization is not supported during replay.
3131
def test_function_starts_no_binary(self):
3232
"""Test that we make synthetic symbols when we don't have the binary"""
33-
self.build()
33+
self.build(dictionary={'CODESIGN': ''}) # Binary is getting stripped later.
3434
self.do_function_starts(True)
3535

3636
def do_function_starts(self, in_memory):

0 commit comments

Comments
 (0)