OLD | NEW |
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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 [re.escape(user)]), | 174 [re.escape(user)]), |
175 ] | 175 ] |
176 verifiers = [] | 176 verifiers = [] |
177 prereq_builder = 'blink_presubmit' | 177 prereq_builder = 'blink_presubmit' |
178 prereq_tests = ['presubmit'] | 178 prereq_tests = ['presubmit'] |
179 step_verifiers = [ | 179 step_verifiers = [ |
180 try_job_steps.TryJobSteps(builder_name=prereq_builder, | 180 try_job_steps.TryJobSteps(builder_name=prereq_builder, |
181 steps=prereq_tests)] | 181 steps=prereq_tests)] |
182 if not no_try: | 182 if not no_try: |
183 blink_tests = [ | 183 blink_tests = [ |
| 184 'blink_platform_unittests', |
184 'webkit_lint', | 185 'webkit_lint', |
185 'webkit_python_tests', | 186 'webkit_python_tests', |
186 'webkit_tests', | 187 'webkit_tests', |
187 'webkit_unit_tests', | 188 'webkit_unit_tests', |
188 'weborigin_unittests', | 189 'weborigin_unittests', |
189 'wtf_unittests', | 190 'wtf_unittests', |
190 ] | 191 ] |
191 | 192 |
192 # A "compile-only" bot runs the webkit_lint tests (which are fast) | 193 # A "compile-only" bot runs the webkit_lint tests (which are fast) |
193 # in order to pick up the default build targets. We don't use the | 194 # in order to pick up the default build targets. We don't use the |
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
730 """List the projects that can be managed by the commit queue.""" | 731 """List the projects that can be managed by the commit queue.""" |
731 return sorted( | 732 return sorted( |
732 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) | 733 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) |
733 | 734 |
734 | 735 |
735 def load_project(project, user, root_dir, rietveld_obj, no_try): | 736 def load_project(project, user, root_dir, rietveld_obj, no_try): |
736 """Loads the specified project.""" | 737 """Loads the specified project.""" |
737 assert os.path.isabs(root_dir) | 738 assert os.path.isabs(root_dir) |
738 return getattr(sys.modules[__name__], '_gen_' + project)( | 739 return getattr(sys.modules[__name__], '_gen_' + project)( |
739 user, root_dir, rietveld_obj, no_try) | 740 user, root_dir, rietveld_obj, no_try) |
OLD | NEW |