diff options
author | Chris Bieneman <beanz@apple.com> | 2016-10-21 22:13:55 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2016-10-21 22:13:55 +0000 |
commit | 7ba5581b84824ea9d458b3efb1b0e406a3cf2776 (patch) | |
tree | 62e972e373bf5b35f376b2603711bbc08a35fed6 /lldb/packages/Python/lldbsuite/test/lldbtest.py | |
parent | 7b15e2946fabc5b873ed4b610b21e235f573eba8 (diff) | |
download | bcm5719-llvm-7ba5581b84824ea9d458b3efb1b0e406a3cf2776.tar.gz bcm5719-llvm-7ba5581b84824ea9d458b3efb1b0e406a3cf2776.zip |
[Test Suite] Allow overriding codesign identity
Summary: Not everyone names their code sign identity "lldb_codesign", so it is nice to allow this to be overridden.
Reviewers: zturner, tfiala
Subscribers: labath, mgorny, lldb-commits
Differential Revision: https://reviews.llvm.org/D25714
llvm-svn: 284893
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/lldbtest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py index 104cb619885..a79e06fdbdd 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbtest.py +++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py @@ -1543,8 +1543,8 @@ class Base(unittest2.TestCase): def signBinary(self, binary_path): if sys.platform.startswith("darwin"): - codesign_cmd = "codesign --force --sign lldb_codesign %s" % ( - binary_path) + codesign_cmd = "codesign --force --sign \"%s\" %s" % ( + lldbtest_config.codesign_identity, binary_path) call(codesign_cmd, shell=True) def findBuiltClang(self): |