summaryrefslogtreecommitdiffstats
path: root/tools/run-bisect-manual-test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/run-bisect-manual-test.py')
-rwxr-xr-xtools/run-bisect-manual-test.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/run-bisect-manual-test.py b/tools/run-bisect-manual-test.py
index 3b69358..0e08546 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 sys.platform.startswith('linux'):
+ if not os.environ.get('CHROME_DEVEL_SANDBOX'):
+ print 'SUID sandbox has not been setup.'\
+ ' See https://code.google.com/p/chromium/wiki/'\
+ 'LinuxSUIDSandboxDevelopment for more information.'
+ return 1
+
return _RunBisectionScript(options)