From 825a08f898f0eb727408e67fb75acc1ebdc1b85b Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Fri, 6 Aug 2021 09:01:52 -0700 Subject: [PATCH] [lldb] Fix TestFunctionStarts.py on AS The tests strips the binary which invalidates the code signature. Skip code signing for this test. --- lldb/test/API/macosx/function-starts/TestFunctionStarts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/test/API/macosx/function-starts/TestFunctionStarts.py b/lldb/test/API/macosx/function-starts/TestFunctionStarts.py index 5dc43a5..e8f540b 100644 --- a/lldb/test/API/macosx/function-starts/TestFunctionStarts.py +++ b/lldb/test/API/macosx/function-starts/TestFunctionStarts.py @@ -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): -- 2.7.4