OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'recipe_engine/path', | 8 'recipe_engine/path', |
9 'recipe_engine/properties', | 9 'recipe_engine/properties', |
10 ] | 10 ] |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 buildername='Linux Builder', | 77 buildername='Linux Builder', |
78 slavename='totallyaslave-m1', | 78 slavename='totallyaslave-m1', |
79 output_manifest=True, | 79 output_manifest=True, |
80 ) | 80 ) |
81 yield api.test('tryjob') + api.properties( | 81 yield api.test('tryjob') + api.properties( |
82 mastername='tryserver.chromium.linux', | 82 mastername='tryserver.chromium.linux', |
83 buildername='linux_rel', | 83 buildername='linux_rel', |
84 slavename='totallyaslave-c4', | 84 slavename='totallyaslave-c4', |
85 issue=12345, | 85 issue=12345, |
86 patchset=654321, | 86 patchset=654321, |
87 patch_url='http://src.chromium.org/foo/bar' | 87 rietveld='https://rietveld.example.com/', |
88 ) | 88 ) |
89 yield api.test('trychange') + api.properties( | 89 yield api.test('trychange') + api.properties( |
90 mastername='tryserver.chromium.linux', | 90 mastername='tryserver.chromium.linux', |
91 buildername='linux_rel', | 91 buildername='linux_rel', |
92 slavename='totallyaslave-c4', | 92 slavename='totallyaslave-c4', |
93 refs=['+refs/change/1/2/333'], | 93 refs=['+refs/change/1/2/333'], |
94 ) | 94 ) |
95 yield api.test('trychange_oauth2') + api.properties( | 95 yield api.test('trychange_oauth2') + api.properties( |
96 mastername='tryserver.chromium.linux', | 96 mastername='tryserver.chromium.linux', |
97 buildername='linux_rel', | 97 buildername='linux_rel', |
98 slavename='totallyaslave-c4', | 98 slavename='totallyaslave-c4', |
99 oauth2=True, | 99 oauth2=True, |
100 ) | 100 ) |
101 yield api.test('tryjob_fail') + api.properties( | 101 yield api.test('tryjob_fail') + api.properties( |
102 mastername='tryserver.chromium.linux', | 102 mastername='tryserver.chromium.linux', |
103 buildername='linux_rel', | 103 buildername='linux_rel', |
104 slavename='totallyaslave-c4', | 104 slavename='totallyaslave-c4', |
105 issue=12345, | 105 issue=12345, |
106 patchset=654321, | 106 patchset=654321, |
107 patch_url='http://src.chromium.org/foo/bar', | 107 rietveld='https://rietveld.example.com/', |
108 ) + api.step_data('bot_update', retcode=1) | 108 ) + api.step_data('bot_update', retcode=1) |
109 yield api.test('tryjob_fail_patch') + api.properties( | 109 yield api.test('tryjob_fail_patch') + api.properties( |
110 mastername='tryserver.chromium.linux', | 110 mastername='tryserver.chromium.linux', |
111 buildername='linux_rel', | 111 buildername='linux_rel', |
112 slavename='totallyaslave-c4', | 112 slavename='totallyaslave-c4', |
113 issue=12345, | 113 issue=12345, |
114 patchset=654321, | 114 patchset=654321, |
115 patch_url='http://src.chromium.org/foo/bar', | 115 rietveld='https://rietveld.example.com/', |
116 fail_patch='apply', | 116 fail_patch='apply', |
117 ) + api.step_data('bot_update', retcode=88) | 117 ) + api.step_data('bot_update', retcode=88) |
118 yield api.test('tryjob_fail_patch_download') + api.properties( | 118 yield api.test('tryjob_fail_patch_download') + api.properties( |
119 mastername='tryserver.chromium.linux', | 119 mastername='tryserver.chromium.linux', |
120 buildername='linux_rel', | 120 buildername='linux_rel', |
121 slavename='totallyaslave-c4', | 121 slavename='totallyaslave-c4', |
122 issue=12345, | 122 issue=12345, |
123 patchset=654321, | 123 patchset=654321, |
124 patch_url='http://src.chromium.org/foo/bar', | 124 rietveld='https://rietveld.example.com/', |
125 fail_patch='download' | 125 fail_patch='download' |
126 ) + api.step_data('bot_update', retcode=87) | 126 ) + api.step_data('bot_update', retcode=87) |
127 yield api.test('forced') + api.properties( | 127 yield api.test('forced') + api.properties( |
128 mastername='experimental', | 128 mastername='experimental', |
129 buildername='Experimental Builder', | 129 buildername='Experimental Builder', |
130 slavename='somehost', | 130 slavename='somehost', |
131 force=1 | 131 force=1 |
132 ) | 132 ) |
133 yield api.test('no_shallow') + api.properties( | 133 yield api.test('no_shallow') + api.properties( |
134 mastername='experimental', | 134 mastername='experimental', |
(...skipping 30 matching lines...) Expand all Loading... |
165 gerrit_no_rebase_patch_ref=True, | 165 gerrit_no_rebase_patch_ref=True, |
166 gerrit_no_reset=1, | 166 gerrit_no_reset=1, |
167 test_apply_gerrit_ref=True, | 167 test_apply_gerrit_ref=True, |
168 ) | 168 ) |
169 yield api.test('tryjob_v8') + api.properties( | 169 yield api.test('tryjob_v8') + api.properties( |
170 mastername='tryserver.chromium.linux', | 170 mastername='tryserver.chromium.linux', |
171 buildername='linux_rel', | 171 buildername='linux_rel', |
172 slavename='totallyaslave-c4', | 172 slavename='totallyaslave-c4', |
173 issue=12345, | 173 issue=12345, |
174 patchset=654321, | 174 patchset=654321, |
175 patch_url='http://src.chromium.org/foo/bar', | 175 rietveld='https://rietveld.example.com/', |
176 patch_project='v8', | 176 patch_project='v8', |
177 revisions={'src/v8': 'abc'} | 177 revisions={'src/v8': 'abc'} |
178 ) | 178 ) |
179 yield api.test('tryjob_v8_head_by_default') + api.properties.tryserver( | 179 yield api.test('tryjob_v8_head_by_default') + api.properties.tryserver( |
180 patch_project='v8', | 180 patch_project='v8', |
181 ) | 181 ) |
182 yield api.test('tryjob_gerrit_angle') + api.properties.tryserver_gerrit( | 182 yield api.test('tryjob_gerrit_angle') + api.properties.tryserver_gerrit( |
183 full_project_name='angle/angle', | 183 full_project_name='angle/angle', |
184 ) | 184 ) |
OLD | NEW |