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

Side by Side Diff: projects.py

Issue 20905003: Switch CQ to use blink trybots for tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/commit-queue@master
Patch Set: Created 7 years, 4 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 | 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 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 """Define the supported projects.""" 4 """Define the supported projects."""
5 5
6 import json 6 import json
7 import logging 7 import logging
8 import os 8 import os
9 import re 9 import re
10 import sys 10 import sys
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 # in order to pick up the default build targets. We don't use the 193 # in order to pick up the default build targets. We don't use the
194 # "compile" step because that will build all the chromium targets, not 194 # "compile" step because that will build all the chromium targets, not
195 # just the blink-specific ones. 195 # just the blink-specific ones.
196 compile_only = [ 'webkit_lint' ] 196 compile_only = [ 'webkit_lint' ]
197 197
198 builders_and_tests = { 198 builders_and_tests = {
199 'linux_layout': compile_only, 199 'linux_layout': compile_only,
200 'mac_layout': compile_only, 200 'mac_layout': compile_only,
201 'win_layout': compile_only, 201 'win_layout': compile_only,
202 202
203 'linux_layout_rel': blink_tests, 203 'linux_blink_rel': blink_tests,
204 'mac_layout_rel': blink_tests, 204 'mac_blink_rel': blink_tests,
205 'win_layout_rel': blink_tests, 205 'win_blink_rel': blink_tests,
206 } 206 }
207 207
208 step_verifiers += [ 208 step_verifiers += [
209 try_job_steps.TryJobSteps(builder_name=b, prereq_builder=prereq_builder, 209 try_job_steps.TryJobSteps(builder_name=b, prereq_builder=prereq_builder,
210 prereq_tests=prereq_tests, steps=s) 210 prereq_tests=prereq_tests, steps=s)
211 for b, s in builders_and_tests.iteritems() 211 for b, s in builders_and_tests.iteritems()
212 ] 212 ]
213 213
214 verifiers.append(try_job_on_rietveld.TryRunnerRietveld( 214 verifiers.append(try_job_on_rietveld.TryRunnerRietveld(
215 context_obj, 215 context_obj,
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 """List the projects that can be managed by the commit queue.""" 732 """List the projects that can be managed by the commit queue."""
733 return sorted( 733 return sorted(
734 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) 734 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_'))
735 735
736 736
737 def load_project(project, user, root_dir, rietveld_obj, no_try): 737 def load_project(project, user, root_dir, rietveld_obj, no_try):
738 """Loads the specified project.""" 738 """Loads the specified project."""
739 assert os.path.isabs(root_dir) 739 assert os.path.isabs(root_dir)
740 return getattr(sys.modules[__name__], '_gen_' + project)( 740 return getattr(sys.modules[__name__], '_gen_' + project)(
741 user, root_dir, rietveld_obj, no_try) 741 user, root_dir, rietveld_obj, no_try)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698