OLD | NEW |
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 action="store_true", | 42 action="store_true", |
43 help='Add extra annotation output for buildbot.') | 43 help='Add extra annotation output for buildbot.') |
44 (opts, args) = parser.parse_args() | 44 (opts, args) = parser.parse_args() |
45 | 45 |
46 if not opts.working_directory: | 46 if not opts.working_directory: |
47 print 'Error: missing required parameter: --working_directory' | 47 print 'Error: missing required parameter: --working_directory' |
48 print | 48 print |
49 parser.print_help() | 49 parser.print_help() |
50 return 1 | 50 return 1 |
51 | 51 |
52 return bisect_utils.CreateBisectDirectoryAndSetupDepot(opts) | 52 return bisect_utils.CreateBisectDirectoryAndSetupDepot(opts, True) |
53 | 53 |
54 | 54 |
55 if __name__ == '__main__': | 55 if __name__ == '__main__': |
56 sys.exit(main()) | 56 sys.exit(main()) |
OLD | NEW |