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

Side by Side Diff: scripts/slave/recipes/ios/try.py

Issue 2455433002: Convert chromium.mac, chromium.fyi iOS bots to run tests on Swarming (Closed)
Patch Set: Created 4 years, 1 month 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
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 'ios', 6 'ios',
7 'depot_tools/gclient', 7 'depot_tools/gclient',
8 'depot_tools/tryserver', 8 'depot_tools/tryserver',
9 'recipe_engine/json', 9 'recipe_engine/json',
10 'recipe_engine/platform', 10 'recipe_engine/platform',
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 ], 110 ],
111 }) 111 })
112 + api.step_data( 112 + api.step_data(
113 'bootstrap swarming.swarming.py --version', 113 'bootstrap swarming.swarming.py --version',
114 stdout=api.raw_io.output('1.2.3'), 114 stdout=api.raw_io.output('1.2.3'),
115 ) 115 )
116 + suppress_analyze() 116 + suppress_analyze()
117 ) 117 )
118 118
119 yield ( 119 yield (
120 api.test('swarming')
121 + api.platform('mac', 64)
122 + api.properties(
123 buildername='ios-simulator-swarming',
124 buildnumber='0',
125 issue=123456,
126 mastername='tryserver.fake',
127 patchset=1,
128 rietveld='fake://rietveld.url',
129 slavename='fake-vm',
130 path_config='kitchen',
131 )
132 + api.ios.make_test_build_config({
133 'xcode version': 'fake xcode version',
134 'GYP_DEFINES': {
135 'fake gyp define 1': 'fake value 1',
136 'fake gyp define 2': 'fake value 2',
137 },
138 'configuration': 'Debug',
139 'sdk': 'iphonesimulator8.0',
140 'tests': [
141 {
142 'app': 'fake test',
143 'device type': 'fake device',
144 'os': '8.1',
145 },
146 ],
147 })
148 + api.step_data(
149 'bootstrap swarming.swarming.py --version',
150 stdout=api.raw_io.output('1.2.3'),
151 )
152 + suppress_analyze()
153 )
154
155 yield (
156 api.test('swarming_tests_skipped') 120 api.test('swarming_tests_skipped')
157 + api.platform('mac', 64) 121 + api.platform('mac', 64)
158 + api.properties( 122 + api.properties(
159 buildername='ios-simulator-swarming', 123 buildername='ios-simulator-swarming',
160 buildnumber='0', 124 buildnumber='0',
161 issue=123456, 125 issue=123456,
162 mastername='tryserver.fake', 126 mastername='tryserver.fake',
163 patchset=1, 127 patchset=1,
164 rietveld='fake://rietveld.url', 128 rietveld='fake://rietveld.url',
165 slavename='fake-vm', 129 slavename='fake-vm',
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 'os': '8.1', 369 'os': '8.1',
406 }, 370 },
407 ], 371 ],
408 }) 372 })
409 + api.step_data( 373 + api.step_data(
410 'bootstrap swarming.swarming.py --version', 374 'bootstrap swarming.swarming.py --version',
411 stdout=api.raw_io.output('1.2.3'), 375 stdout=api.raw_io.output('1.2.3'),
412 ) 376 )
413 + suppress_analyze() 377 + suppress_analyze()
414 ) 378 )
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/ios/api.py ('k') | scripts/slave/recipes/ios/try.expected/swarming.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698