OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright 2013 The Chromium Authors. All rights reserved. | 2 # Copyright 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 """Simple script which asks user to manually check result of bisection. | 6 """Simple script which asks user to manually check result of bisection. |
7 | 7 |
8 Typically used as by the run-bisect-manual-test.py script. | 8 Typically used as by the run-bisect-manual-test.py script. |
9 """ | 9 """ |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 break | 35 break |
36 | 36 |
37 browser.Close() | 37 browser.Close() |
38 | 38 |
39 | 39 |
40 def main(): | 40 def main(): |
41 usage = ('%prog [options]\n' | 41 usage = ('%prog [options]\n' |
42 'Starts browser with an optional url and asks user whether ' | 42 'Starts browser with an optional url and asks user whether ' |
43 'revision is good or bad.\n') | 43 'revision is good or bad.\n') |
44 | 44 |
45 options = browser_options.BrowserOptions() | 45 options = browser_options.BrowserFinderOptions() |
46 parser = options.CreateParser(usage) | 46 parser = options.CreateParser(usage) |
47 options, args = parser.parse_args() | 47 options, args = parser.parse_args() |
48 | 48 |
49 _StartManualTest(options) | 49 _StartManualTest(options) |
50 | 50 |
51 | 51 |
52 if __name__ == '__main__': | 52 if __name__ == '__main__': |
53 sys.exit(main()) | 53 sys.exit(main()) |
OLD | NEW |