| Index: test/ios/app-bundle/TestApp/check_no_signature.py
|
| ===================================================================
|
| --- test/ios/app-bundle/TestApp/check_no_signature.py (revision 0)
|
| +++ test/ios/app-bundle/TestApp/check_no_signature.py (working copy)
|
| @@ -0,0 +1,13 @@
|
| +#!/usr/bin/python
|
| +
|
| +import os
|
| +import subprocess
|
| +import sys
|
| +
|
| +p = os.path.join(os.environ['BUILT_PRODUCTS_DIR'],os.environ['EXECUTABLE_PATH'])
|
| +proc = subprocess.Popen(['codesign', '-v', p],
|
| + stderr=subprocess.STDOUT, stdout=subprocess.PIPE)
|
| +o = proc.communicate()[0].strip()
|
| +if "code object is not signed at all" not in o:
|
| + sys.stderr.write('File should not already be signed.')
|
| + sys.exit(1)
|
|
|
| Property changes on: test/ios/app-bundle/TestApp/check_no_signature.py
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| ## -0,0 +1 ##
|
| +LF
|
| \ No newline at end of property
|
|
|