| 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 """Run Manual Test Bisect Tool | 6 """Run Manual Test Bisect Tool |
| 7 | 7 |
| 8 An example usage: | 8 An example usage: |
| 9 tools/run-bisect-manual-test.py -g 201281 -b 201290 | 9 tools/run-bisect-manual-test.py -g 201281 -b 201290 |
| 10 | 10 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 (os.path.join(_DIR_TOOLS_ROOT, 'bisect-manual-test.py'), | 41 (os.path.join(_DIR_TOOLS_ROOT, 'bisect-manual-test.py'), |
| 42 options.browser_type) | 42 options.browser_type) |
| 43 | 43 |
| 44 cmd = ['python', os.path.join(_DIR_TOOLS_ROOT, 'bisect-perf-regression.py'), | 44 cmd = ['python', os.path.join(_DIR_TOOLS_ROOT, 'bisect-perf-regression.py'), |
| 45 '-c', test_command, | 45 '-c', test_command, |
| 46 '-g', options.good_revision, | 46 '-g', options.good_revision, |
| 47 '-b', options.bad_revision, | 47 '-b', options.bad_revision, |
| 48 '-m', 'manual_test/manual_test', | 48 '-m', 'manual_test/manual_test', |
| 49 '-r', '1', | 49 '-r', '1', |
| 50 '--working_directory', options.working_directory, | 50 '--working_directory', options.working_directory, |
| 51 '--target_build_type', options.browser_type.title(), |
| 51 '--build_preference', 'ninja', | 52 '--build_preference', 'ninja', |
| 52 '--use_goma', | 53 '--use_goma', |
| 53 '--no_custom_deps'] | 54 '--no_custom_deps'] |
| 54 | 55 |
| 55 if 'cros' in options.browser_type: | 56 if 'cros' in options.browser_type: |
| 56 cmd.extend(['--target_platform', 'cros']) | 57 cmd.extend(['--target_platform', 'cros']) |
| 57 | 58 |
| 58 if os.environ[CROS_BOARD_ENV] and os.environ[CROS_IP_ENV]: | 59 if os.environ[CROS_BOARD_ENV] and os.environ[CROS_IP_ENV]: |
| 59 cmd.extend(['--cros_board', os.environ[CROS_BOARD_ENV]]) | 60 cmd.extend(['--cros_board', os.environ[CROS_BOARD_ENV]]) |
| 60 cmd.extend(['--cros_remote_ip', os.environ[CROS_IP_ENV]]) | 61 cmd.extend(['--cros_remote_ip', os.environ[CROS_IP_ENV]]) |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 print 'SUID sandbox has not been setup.'\ | 120 print 'SUID sandbox has not been setup.'\ |
| 120 ' See https://code.google.com/p/chromium/wiki/'\ | 121 ' See https://code.google.com/p/chromium/wiki/'\ |
| 121 'LinuxSUIDSandboxDevelopment for more information.' | 122 'LinuxSUIDSandboxDevelopment for more information.' |
| 122 return 1 | 123 return 1 |
| 123 | 124 |
| 124 return _RunBisectionScript(options) | 125 return _RunBisectionScript(options) |
| 125 | 126 |
| 126 | 127 |
| 127 if __name__ == '__main__': | 128 if __name__ == '__main__': |
| 128 sys.exit(main()) | 129 sys.exit(main()) |
| OLD | NEW |