Index: tools/run-bisect-manual-test.py |
diff --git a/tools/run-bisect-manual-test.py b/tools/run-bisect-manual-test.py |
index 3b69358cb9145dcbc7937968dc3fa9211fd98e19..8bb2381b0efa6ed441baa4a35f758708d30f154d 100755 |
--- a/tools/run-bisect-manual-test.py |
+++ b/tools/run-bisect-manual-test.py |
@@ -8,6 +8,11 @@ |
An example usage: |
tools/run-bisect-manual-test.py -g 201281 -b 201290 |
+On Linux platform, follow the instructions in this document |
+https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment |
+to setup the sandbox manually before running the script. Otherwise the script |
+fails to launch Chrome and exits with an error. |
+ |
""" |
import os |
@@ -109,6 +114,13 @@ def main(): |
parser.print_help() |
return 1 |
+ if os.name == 'posix': |
tonyg
2013/08/29 22:39:19
os.name == 'posix' includes Mac which does not use
pshenoy
2013/08/29 22:46:24
Done.
|
+ if os.environ.get('CHROME_DEVEL_SANDBOX') == None: |
tonyg
2013/08/29 22:39:19
The style guide says not to compare to None explic
pshenoy
2013/08/29 22:46:24
Done.
|
+ print 'SUID sandbox has not been setup.'\ |
+ ' See https://code.google.com/p/chromium/wiki/'\ |
+ 'LinuxSUIDSandboxDevelopment for more information.' |
+ return 1 |
+ |
return _RunBisectionScript(options) |