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

Side by Side Diff: tools/auto_bisect/configs/try.py

Issue 1320293005: Remove mac_perf_bisect from CQ and auto_bisect. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | tools/perf/PRESUBMIT.py » ('j') | 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 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 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 """Starts bisect try jobs on multiple platforms using known-good configs. 6 """Starts bisect try jobs on multiple platforms using known-good configs.
7 7
8 The purpose of this script is to serve as an integration test for the 8 The purpose of this script is to serve as an integration test for the
9 auto-bisect project by starting try jobs for various config types and 9 auto-bisect project by starting try jobs for various config types and
10 various platforms. 10 various platforms.
(...skipping 11 matching lines...) Expand all
22 import os 22 import os
23 import subprocess 23 import subprocess
24 import sys 24 import sys
25 25
26 SCRIPT_DIR = os.path.abspath(os.path.dirname(__file__)) 26 SCRIPT_DIR = os.path.abspath(os.path.dirname(__file__))
27 BISECT_CONFIG = os.path.join(SCRIPT_DIR, os.path.pardir, 'bisect.cfg') 27 BISECT_CONFIG = os.path.join(SCRIPT_DIR, os.path.pardir, 'bisect.cfg')
28 PERF_TEST_CONFIG = os.path.join( 28 PERF_TEST_CONFIG = os.path.join(
29 SCRIPT_DIR, os.path.pardir, os.path.pardir, 'run-perf-test.cfg') 29 SCRIPT_DIR, os.path.pardir, os.path.pardir, 'run-perf-test.cfg')
30 PLATFORM_BOT_MAP = { 30 PLATFORM_BOT_MAP = {
31 'linux': ['linux_perf_bisect'], 31 'linux': ['linux_perf_bisect'],
32 'mac': ['mac_perf_bisect', 'mac_10_9_perf_bisect'], 32 'mac': ['mac_10_9_perf_bisect', 'mac_10_10_perf_bisect'],
33 'win': ['win_perf_bisect', 'win_8_perf_bisect', 'win_xp_perf_bisect'], 33 'win': ['win_perf_bisect', 'win_8_perf_bisect', 'win_xp_perf_bisect'],
34 'winx64': ['win_x64_perf_bisect'], 34 'winx64': ['win_x64_perf_bisect'],
35 'android': [ 35 'android': [
36 'android_nexus4_perf_bisect', 36 'android_nexus4_perf_bisect',
37 'android_nexus5_perf_bisect', 37 'android_nexus5_perf_bisect',
38 'android_nexus7_perf_bisect', 38 'android_nexus7_perf_bisect',
39 ], 39 ],
40 } 40 }
41 SVN_URL = 'svn://svn.chromium.org/chrome-try/try-perf' 41 SVN_URL = 'svn://svn.chromium.org/chrome-try/try-perf'
42 AUTO_COMMIT_MESSAGE = 'Automatic commit for bisect try job.' 42 AUTO_COMMIT_MESSAGE = 'Automatic commit for bisect try job.'
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 subprocess.CalledProcessError: The return-code was non-zero. 141 subprocess.CalledProcessError: The return-code was non-zero.
142 """ 142 """
143 logging.debug('Running %s', command) 143 logging.debug('Running %s', command)
144 if dry_run: 144 if dry_run:
145 return 'Did not run command because this is a dry run.' 145 return 'Did not run command because this is a dry run.'
146 return subprocess.check_output(command) 146 return subprocess.check_output(command)
147 147
148 148
149 if __name__ == '__main__': 149 if __name__ == '__main__':
150 sys.exit(main(sys.argv)) 150 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « no previous file | tools/perf/PRESUBMIT.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698