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

Side by Side Diff: projects.py

Issue 38983002: Make CQ use linux_blink instead of linux_layout (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/commit-queue@master
Patch Set: Created 7 years, 2 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 'wtf_unittests', 192 'wtf_unittests',
193 ] 193 ]
194 194
195 # A "compile-only" bot runs the webkit_lint tests (which are fast) 195 # A "compile-only" bot runs the webkit_lint tests (which are fast)
196 # in order to pick up the default build targets. We don't use the 196 # in order to pick up the default build targets. We don't use the
197 # "compile" step because that will build all the chromium targets, not 197 # "compile" step because that will build all the chromium targets, not
198 # just the blink-specific ones. 198 # just the blink-specific ones.
199 compile_only = [ 'webkit_lint' ] 199 compile_only = [ 'webkit_lint' ]
200 200
201 builders_and_tests = { 201 builders_and_tests = {
202 'linux_layout': compile_only,
203 'mac_layout': compile_only, 202 'mac_layout': compile_only,
204 'win_layout': compile_only, 203 'win_layout': compile_only,
205 204
205 'linux_blink': blink_tests,
206 'linux_blink_rel': blink_tests, 206 'linux_blink_rel': blink_tests,
207 'mac_blink_rel': blink_tests, 207 'mac_blink_rel': blink_tests,
208 'win_blink_rel': blink_tests, 208 'win_blink_rel': blink_tests,
209 } 209 }
210 210
211 step_verifiers += [ 211 step_verifiers += [
212 try_job_steps.TryJobSteps(builder_name=b, prereq_builder=prereq_builder, 212 try_job_steps.TryJobSteps(builder_name=b, prereq_builder=prereq_builder,
213 prereq_tests=prereq_tests, steps=s) 213 prereq_tests=prereq_tests, steps=s)
214 for b, s in builders_and_tests.iteritems() 214 for b, s in builders_and_tests.iteritems()
215 ] 215 ]
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 """List the projects that can be managed by the commit queue.""" 741 """List the projects that can be managed by the commit queue."""
742 return sorted( 742 return sorted(
743 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) 743 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_'))
744 744
745 745
746 def load_project(project, user, root_dir, rietveld_obj, no_try): 746 def load_project(project, user, root_dir, rietveld_obj, no_try):
747 """Loads the specified project.""" 747 """Loads the specified project."""
748 assert os.path.isabs(root_dir) 748 assert os.path.isabs(root_dir)
749 return getattr(sys.modules[__name__], '_gen_' + project)( 749 return getattr(sys.modules[__name__], '_gen_' + project)(
750 user, root_dir, rietveld_obj, no_try) 750 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