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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 84 |
85 def GenSteps(api): | 85 def GenSteps(api): |
86 with api.tryserver.set_failure_hash(): | 86 with api.tryserver.set_failure_hash(): |
87 return _GenStepsInternal(api) | 87 return _GenStepsInternal(api) |
88 | 88 |
89 | 89 |
90 def GenTests(api): | 90 def GenTests(api): |
91 # TODO(machenbach): This uses the same tryserver for all repos, which doesn't | 91 # TODO(machenbach): This uses the same tryserver for all repos, which doesn't |
92 # reflect reality (cosmetical problem only). | 92 # reflect reality (cosmetical problem only). |
93 for repo_name in ['blink', 'chromium', 'v8', 'nacl', 'naclports', 'gyp', | 93 for repo_name in ['blink', 'chromium', 'v8', 'nacl', 'naclports', 'gyp', |
94 'build', 'depot_tools', 'chrome_golo']: | 94 'build', 'depot_tools', 'skia', 'chrome_golo']: |
95 yield ( | 95 yield ( |
96 api.test(repo_name) + | 96 api.test(repo_name) + |
97 api.properties.tryserver( | 97 api.properties.tryserver( |
98 mastername='tryserver.chromium.linux', | 98 mastername='tryserver.chromium.linux', |
99 buildername='chromium_presubmit', | 99 buildername='chromium_presubmit', |
100 repo_name=repo_name, | 100 repo_name=repo_name, |
101 patch_project=repo_name) + | 101 patch_project=repo_name) + |
102 api.step_data('presubmit', api.json.output([['chromium_presubmit', | 102 api.step_data('presubmit', api.json.output([['chromium_presubmit', |
103 ['compile']]])) | 103 ['compile']]])) |
104 ) | 104 ) |
(...skipping 13 matching lines...) Expand all Loading... |
118 api.test('chromium_with_auth') + | 118 api.test('chromium_with_auth') + |
119 api.properties.tryserver( | 119 api.properties.tryserver( |
120 mastername='tryserver.chromium.linux', | 120 mastername='tryserver.chromium.linux', |
121 buildername='chromium_presubmit', | 121 buildername='chromium_presubmit', |
122 repo_name='chromium', | 122 repo_name='chromium', |
123 codereview_auth=True, | 123 codereview_auth=True, |
124 patch_project='chromium') + | 124 patch_project='chromium') + |
125 api.step_data('presubmit', api.json.output([['chromium_presubmit', | 125 api.step_data('presubmit', api.json.output([['chromium_presubmit', |
126 ['compile']]])) | 126 ['compile']]])) |
127 ) | 127 ) |
OLD | NEW |