diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2024-01-26 20:37:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-26 20:37:44 -0800 |
commit | 75952873036fc9989fcf12c526d1a2deaeef596a (patch) | |
tree | 87d1cc9cceba42ec1d3d3ffba1f24cd87eca51d3 /lldb/packages/Python/lldbsuite/test | |
parent | 701ec45f2fc026d97c3a6262ea0ae6ba6734b304 (diff) | |
download | llvm-75952873036fc9989fcf12c526d1a2deaeef596a.zip llvm-75952873036fc9989fcf12c526d1a2deaeef596a.tar.gz llvm-75952873036fc9989fcf12c526d1a2deaeef596a.tar.bz2 |
[lldb] Remove obsolete signBinary helper (#79656)
On Darwin, the Makefile already (ad-hoc) signs everything it builds.
There's also no need to use lldb_codesign for this.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/dotest.py | 2 | ||||
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/dotest_args.py | 6 | ||||
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/lldbtest.py | 8 |
3 files changed, 0 insertions, 16 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py index a639714..4393e0c 100644 --- a/lldb/packages/Python/lldbsuite/test/dotest.py +++ b/lldb/packages/Python/lldbsuite/test/dotest.py @@ -442,8 +442,6 @@ def parseOptionsAndInitTestdirs(): os.path.realpath(os.path.abspath(x)) for x in args.args ] - lldbtest_config.codesign_identity = args.codesign_identity - def registerFaulthandler(): try: diff --git a/lldb/packages/Python/lldbsuite/test/dotest_args.py b/lldb/packages/Python/lldbsuite/test/dotest_args.py index 70a6507..e4de786 100644 --- a/lldb/packages/Python/lldbsuite/test/dotest_args.py +++ b/lldb/packages/Python/lldbsuite/test/dotest_args.py @@ -218,12 +218,6 @@ def create_parser(): help="Leave logs/traces even for successful test runs (useful for creating reference log files during debugging.)", ) group.add_argument( - "--codesign-identity", - metavar="Codesigning identity", - default="lldb_codesign", - help="The codesigning identity to use", - ) - group.add_argument( "--build-dir", dest="test_build_dir", metavar="Test build directory", diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py index 3abc713..d944b09 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbtest.py +++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py @@ -1543,14 +1543,6 @@ class Base(unittest2.TestCase): d = {"CXX_SOURCES": sources, "EXE": exe_name} self.build(dictionary=d) - def signBinary(self, binary_path): - if sys.platform.startswith("darwin"): - codesign_cmd = 'codesign --force --sign "%s" %s' % ( - lldbtest_config.codesign_identity, - binary_path, - ) - call(codesign_cmd, shell=True) - def findBuiltClang(self): """Tries to find and use Clang from the build directory as the compiler (instead of the system compiler).""" paths_to_try = [ |