[lldb] Fix TestFunctionStarts.py on AS

The tests strips the binary which invalidates the code signature. Skip
code signing for this test.
This commit is contained in:
Jonas Devlieghere 2021-08-06 09:01:52 -07:00
parent ca6baf1e1d
commit 825a08f898
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ class FunctionStartsTestCase(TestBase):
@skipIfReproducer # File synchronization is not supported during replay.
def test_function_starts_binary(self):
"""Test that we make synthetic symbols when we have the binary."""
self.build()
self.build(dictionary={'CODESIGN': ''}) # Binary is getting stripped later.
self.do_function_starts(False)
@skipIfRemote
@ -30,7 +30,7 @@ class FunctionStartsTestCase(TestBase):
@skipIfReproducer # File synchronization is not supported during replay.
def test_function_starts_no_binary(self):
"""Test that we make synthetic symbols when we don't have the binary"""
self.build()
self.build(dictionary={'CODESIGN': ''}) # Binary is getting stripped later.
self.do_function_starts(True)
def do_function_starts(self, in_memory):