Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Side by Side Diff: tools/prepare-bisect-perf-regression.py

Issue 23447006: Skip the creation/sync step on the bot. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/bisect_utils.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Prepare Performance Test Bisect Tool 6 """Prepare Performance Test Bisect Tool
7 7
8 This script is used by a trybot to create a working directory and sync an 8 This script is used by a trybot to create a working directory and sync an
9 initial copy of the depot for use in bisecting performance regressions. 9 initial copy of the depot for use in bisecting performance regressions.
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 'other than "chromium", you must be properly set up to ' 50 'other than "chromium", you must be properly set up to '
51 'build that platform.') 51 'build that platform.')
52 (opts, args) = parser.parse_args() 52 (opts, args) = parser.parse_args()
53 53
54 if not opts.working_directory: 54 if not opts.working_directory:
55 print 'Error: missing required parameter: --working_directory' 55 print 'Error: missing required parameter: --working_directory'
56 print 56 print
57 parser.print_help() 57 parser.print_help()
58 return 1 58 return 1
59 59
60 return bisect_utils.CreateBisectDirectoryAndSetupDepot( 60 if not bisect_utils.CheckIfBisectDepotExists(opts):
61 opts, 61 return bisect_utils.CreateBisectDirectoryAndSetupDepot(
62 bisect_utils.DEFAULT_GCLIENT_CUSTOM_DEPS) 62 opts,
63 bisect_utils.DEFAULT_GCLIENT_CUSTOM_DEPS)
64 return 0
63 65
64 66
65 if __name__ == '__main__': 67 if __name__ == '__main__':
66 sys.exit(main()) 68 sys.exit(main())
OLDNEW
« no previous file with comments | « tools/bisect_utils.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698