OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 | 4 |
5 DEPS = [ | 5 DEPS = [ |
6 'bot_update', | 6 'bot_update', |
7 'gclient', | 7 'gclient', |
8 'git', | 8 'git', |
9 'json', | 9 'json', |
10 'path', | 10 'path', |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 | 88 |
89 def RunSteps(api): | 89 def RunSteps(api): |
90 with api.tryserver.set_failure_hash(): | 90 with api.tryserver.set_failure_hash(): |
91 return _RunStepsInternal(api) | 91 return _RunStepsInternal(api) |
92 | 92 |
93 | 93 |
94 def GenTests(api): | 94 def GenTests(api): |
95 # TODO(machenbach): This uses the same tryserver for all repos, which doesn't | 95 # TODO(machenbach): This uses the same tryserver for all repos, which doesn't |
96 # reflect reality (cosmetical problem only). | 96 # reflect reality (cosmetical problem only). |
97 for repo_name in ['blink', 'chromium', 'v8', 'nacl', 'naclports', 'gyp', | 97 for repo_name in ['blink', 'chromium', 'v8', 'nacl', 'naclports', 'gyp', |
98 'build', 'build_limited', 'build_internal', 'depot_tools', | 98 'build', 'build_internal', 'depot_tools', 'skia', |
99 'skia', 'chrome_golo', 'webrtc', 'catapult']: | 99 'chrome_golo', 'webrtc', 'catapult']: |
100 yield ( | 100 yield ( |
101 api.test(repo_name) + | 101 api.test(repo_name) + |
102 api.properties.tryserver( | 102 api.properties.tryserver( |
103 mastername='tryserver.chromium.linux', | 103 mastername='tryserver.chromium.linux', |
104 buildername='%s_presubmit' % repo_name, | 104 buildername='%s_presubmit' % repo_name, |
105 repo_name=repo_name, | 105 repo_name=repo_name, |
106 patch_project=repo_name) + | 106 patch_project=repo_name) + |
107 api.step_data('presubmit', api.json.output([['%s_presubmit' % repo_name, | 107 api.step_data('presubmit', api.json.output([['%s_presubmit' % repo_name, |
108 ['compile']]])) | 108 ['compile']]])) |
109 ) | 109 ) |
110 | 110 |
111 yield ( | 111 yield ( |
| 112 api.test('build_limited_scripts_slave') + |
| 113 api.properties.tryserver( |
| 114 mastername='tryserver.chromium.linux', |
| 115 buildername='build-limited-scripts-slave-presubmit', |
| 116 repo_name='build_limited', |
| 117 patch_project='build_limited_scripts_slave') + |
| 118 api.step_data('presubmit', api.json.output( |
| 119 [['build-limited-scripts-slave-presubmit', ['compile']]])) |
| 120 ) |
| 121 |
| 122 yield ( |
112 api.test('fake_svn_master') + | 123 api.test('fake_svn_master') + |
113 api.properties.tryserver( | 124 api.properties.tryserver( |
114 mastername='experimental.svn', | 125 mastername='experimental.svn', |
115 buildername='chromium_presubmit', | 126 buildername='chromium_presubmit', |
116 repo_name='chromium', | 127 repo_name='chromium', |
117 force_checkout=True) + | 128 force_checkout=True) + |
118 api.step_data('presubmit', api.json.output([['chromium_presubmit', | 129 api.step_data('presubmit', api.json.output([['chromium_presubmit', |
119 ['compile']]])) | 130 ['compile']]])) |
120 ) | 131 ) |
121 | 132 |
(...skipping 13 matching lines...) Expand all Loading... |
135 api.test('infra_with_runhooks') + | 146 api.test('infra_with_runhooks') + |
136 api.properties.tryserver( | 147 api.properties.tryserver( |
137 mastername='tryserver.chromium.linux', | 148 mastername='tryserver.chromium.linux', |
138 buildername='infra_presubmit', | 149 buildername='infra_presubmit', |
139 repo_name='infra', | 150 repo_name='infra', |
140 patch_project='infra', | 151 patch_project='infra', |
141 runhooks=True) + | 152 runhooks=True) + |
142 api.step_data('presubmit', api.json.output([['infra_presubmit', | 153 api.step_data('presubmit', api.json.output([['infra_presubmit', |
143 ['compile']]])) | 154 ['compile']]])) |
144 ) | 155 ) |
OLD | NEW |