diff options
author | pshenoy@chromium.org <pshenoy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-29 22:58:50 +0000 |
---|---|---|
committer | pshenoy@chromium.org <pshenoy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-29 22:58:50 +0000 |
commit | fded4f76bfe4ec6b4dbbea138624b44f3e67f61e (patch) | |
tree | d25279c0ffbab42979aa5c6fcd3f351e6406cabb | |
parent | 5bed2ec38a11d8b11c29b2831cdf19e973879ad0 (diff) | |
download | chromium_src-fded4f76bfe4ec6b4dbbea138624b44f3e67f61e.zip chromium_src-fded4f76bfe4ec6b4dbbea138624b44f3e67f61e.tar.gz chromium_src-fded4f76bfe4ec6b4dbbea138624b44f3e67f61e.tar.bz2 |
Adding comment to inform the user to set up the sandbox manually on Linux.
BUG=None
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/23777002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220413 0039d316-1c4b-4281-b951-d872f2087c98
-rwxr-xr-x | tools/run-bisect-manual-test.py | 12 |
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) |