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

Side by Side Diff: tools/run-bisect-manual-test.py

Issue 277993002: Add target_build_type flag to bisect-perf-regression tool to enable bisecting of a Debug build with… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « tools/bisect-perf-regression.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 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
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
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())
OLDNEW
« no previous file with comments | « tools/bisect-perf-regression.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698