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

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

Issue 1145733003: ios: Allow bot configs to set extra env variables (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Provide a default self.__config['env'] Created 5 years, 7 months 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 'platform', 7 'platform',
8 'properties', 8 'properties',
9 ] 9 ]
10 10
(...skipping 13 matching lines...) Expand all
24 buildnumber='0', 24 buildnumber='0',
25 mastername='chromium.fake', 25 mastername='chromium.fake',
26 slavename='fake-vm', 26 slavename='fake-vm',
27 ) 27 )
28 + api.ios.make_test_build_config({ 28 + api.ios.make_test_build_config({
29 'xcode version': 'fake xcode version', 29 'xcode version': 'fake xcode version',
30 'GYP_DEFINES': { 30 'GYP_DEFINES': {
31 'fake gyp define 1': 'fake value 1', 31 'fake gyp define 1': 'fake value 1',
32 'fake gyp define 2': 'fake value 2', 32 'fake gyp define 2': 'fake value 2',
33 }, 33 },
34 'env': {
35 'fake env var 1': 'fake env value 1',
36 'fake env var 2': 'fake env value 2',
37 },
34 'compiler': 'xcodebuild', 38 'compiler': 'xcodebuild',
35 'configuration': 'Debug', 39 'configuration': 'Debug',
36 'sdk': 'iphonesimulator8.0', 40 'sdk': 'iphonesimulator8.0',
37 'tests': [ 41 'tests': [
38 { 42 {
39 'app': 'fake tests 1', 43 'app': 'fake tests 1',
40 'device type': 'fake device', 44 'device type': 'fake device',
41 'os': '8.0', 45 'os': '8.0',
42 }, 46 },
43 { 47 {
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 ) 208 )
205 + api.step_data( 209 + api.step_data(
206 'fake tests 3 (fake device iOS 8.1)', 210 'fake tests 3 (fake device iOS 8.1)',
207 retcode=1 211 retcode=1
208 ) 212 )
209 + api.step_data( 213 + api.step_data(
210 'fake tests 5 (fake device iOS 8.1)', 214 'fake tests 5 (fake device iOS 8.1)',
211 retcode=2 215 retcode=2
212 ) 216 )
213 ) 217 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698