[Lldb-commits] [lldb] 825a08f - [lldb] Fix TestFunctionStarts.py on AS
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 6 09:03:12 PDT 2021
Author: Jonas Devlieghere
Date: 2021-08-06T09:03:01-07:00
New Revision: 825a08f898f0eb727408e67fb75acc1ebdc1b85b
URL: https://github.com/llvm/llvm-project/commit/825a08f898f0eb727408e67fb75acc1ebdc1b85b
DIFF: https://github.com/llvm/llvm-project/commit/825a08f898f0eb727408e67fb75acc1ebdc1b85b.diff
LOG: [lldb] Fix TestFunctionStarts.py on AS
The tests strips the binary which invalidates the code signature. Skip
code signing for this test.
Added:
Modified:
lldb/test/API/macosx/function-starts/TestFunctionStarts.py
Removed:
################################################################################
diff --git a/lldb/test/API/macosx/function-starts/TestFunctionStarts.py b/lldb/test/API/macosx/function-starts/TestFunctionStarts.py
index 5dc43a5a10935..e8f540b5a5fc7 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 @@ def test_function_starts_binary(self):
@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):
More information about the lldb-commits
mailing list