diff options
author | simonhatch@chromium.org <simonhatch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-29 16:25:35 +0000 |
---|---|---|
committer | simonhatch@chromium.org <simonhatch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-29 16:25:35 +0000 |
commit | d6b47ab229a3fbaf5cb3d6a32b78be927f802d0d (patch) | |
tree | 0a4620fc32caae3828e5a880e0bfb8bdf4482d52 /tools/prepare-bisect-perf-regression.py | |
parent | c5eada7f95b7b4e3fc26287e862056075413b828 (diff) | |
download | chromium_src-d6b47ab229a3fbaf5cb3d6a32b78be927f802d0d.zip chromium_src-d6b47ab229a3fbaf5cb3d6a32b78be927f802d0d.tar.gz chromium_src-d6b47ab229a3fbaf5cb3d6a32b78be927f802d0d.tar.bz2 |
Skip the creation/sync step on the bot in the prepare step if it already exists. The prepare step is just used to make sure the src directory exists for the bot for running an http server before starting the actual bisect. On linux/mac this step is quick, but on Windows it can take 20 minutes or more.
BUG=
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/23447006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220312 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/prepare-bisect-perf-regression.py')
-rwxr-xr-x | tools/prepare-bisect-perf-regression.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/prepare-bisect-perf-regression.py b/tools/prepare-bisect-perf-regression.py index efcafc2..c12edbd 100755 --- a/tools/prepare-bisect-perf-regression.py +++ b/tools/prepare-bisect-perf-regression.py @@ -57,9 +57,11 @@ def main(): parser.print_help() return 1 - return bisect_utils.CreateBisectDirectoryAndSetupDepot( - opts, - bisect_utils.DEFAULT_GCLIENT_CUSTOM_DEPS) + if not bisect_utils.CheckIfBisectDepotExists(opts): + return bisect_utils.CreateBisectDirectoryAndSetupDepot( + opts, + bisect_utils.DEFAULT_GCLIENT_CUSTOM_DEPS) + return 0 if __name__ == '__main__': |