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

Side by Side Diff: scripts/slave/recipes/chromium.fyi.drmemory_win_block.recipe_autogen.py

Issue 1917243002: Revert "build: roll infra_paths changes" (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 8 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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 'chromium', 6 'chromium',
7 'depot_tools/bot_update', 7 'depot_tools/bot_update',
8 'depot_tools/gclient', 8 'depot_tools/gclient',
9 'depot_tools/infra_paths',
10 'recipe_engine/json', 9 'recipe_engine/json',
11 'recipe_engine/path', 10 'recipe_engine/path',
12 'recipe_engine/properties', 11 'recipe_engine/properties',
13 'recipe_engine/python', 12 'recipe_engine/python',
14 'recipe_engine/step', 13 'recipe_engine/step',
15 'trigger', 14 'trigger',
16 ] 15 ]
17 16
18 17
19 def Windows_Tests__DrMemory__steps(api): 18 def Windows_Tests__DrMemory__steps(api):
20 build_properties = api.properties.legacy() 19 build_properties = api.properties.legacy()
21 # svnkill step; not necessary in recipes 20 # svnkill step; not necessary in recipes
22 # update scripts step; implicitly run by recipe engine. 21 # update scripts step; implicitly run by recipe engine.
23 # taskkill step 22 # taskkill step
24 api.python("taskkill", api.infra_paths['build'].join("scripts", "slave", 23 api.python("taskkill", api.path["build"].join("scripts", "slave",
25 "kill_processes.py")) 24 "kill_processes.py"))
26 # bot_update step 25 # bot_update step
27 src_cfg = api.gclient.make_config(GIT_MODE=True) 26 src_cfg = api.gclient.make_config(GIT_MODE=True)
28 soln = src_cfg.solutions.add() 27 soln = src_cfg.solutions.add()
29 soln.name = "src" 28 soln.name = "src"
30 soln.url = "https://chromium.googlesource.com/chromium/src.git" 29 soln.url = "https://chromium.googlesource.com/chromium/src.git"
31 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} 30 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None}
32 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk', 31 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk',
33 'googlecode_url': 'http://%s.googlecode.com/svn', 32 'googlecode_url': 'http://%s.googlecode.com/svn',
34 'nacl_trunk': 33 'nacl_trunk':
(...skipping 11 matching lines...) Expand all
46 build_properties.update(result.json.output.get("properties", {})) 45 build_properties.update(result.json.output.get("properties", {}))
47 # gclient revert step; made unnecessary by bot_update 46 # gclient revert step; made unnecessary by bot_update
48 # gclient update step; made unnecessary by bot_update 47 # gclient update step; made unnecessary by bot_update
49 # gclient runhooks wrapper step 48 # gclient runhooks wrapper step
50 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 49 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1',
51 'GYP_CHROMIUM_NO_ACTION': '1', 50 'GYP_CHROMIUM_NO_ACTION': '1',
52 'LANDMINES_VERBOSE': '1', 51 'LANDMINES_VERBOSE': '1',
53 'DEPOT_TOOLS_UPDATE': '0', 52 'DEPOT_TOOLS_UPDATE': '0',
54 'GYP_DEFINES': ' component=static_library'} 53 'GYP_DEFINES': ' component=static_library'}
55 api.python("gclient runhooks wrapper", 54 api.python("gclient runhooks wrapper",
56 api.infra_paths['build'].join("scripts", "slave", 55 api.path["build"].join("scripts", "slave",
57 "runhooks_wrapper.py"), 56 "runhooks_wrapper.py"),
58 env=env) 57 env=env)
59 # cleanup_temp step 58 # cleanup_temp step
60 api.chromium.cleanup_temp() 59 api.chromium.cleanup_temp()
61 # extract build step 60 # extract build step
62 api.python( 61 api.python(
63 "extract build", 62 "extract build",
64 api.infra_paths['build'].join("scripts", "slave", "extract_build.py"), 63 api.path["build"].join("scripts", "slave", "extract_build.py"),
65 args=["--target", "Release", "--build-archive-url", build_properties[ 64 args=["--target", "Release", "--build-archive-url", build_properties[
66 "parent_build_archive_url"], '--build-properties=%s' % 65 "parent_build_archive_url"], '--build-properties=%s' %
67 api.json.dumps(build_properties, 66 api.json.dumps(build_properties,
68 separators=(',', ':'))]) 67 separators=(',', ':'))])
69 with api.step.defer_results(): 68 with api.step.defer_results():
70 # runtest step 69 # runtest step
71 api.python( 70 api.python(
72 "memory test: webkit", 71 "memory test: webkit",
73 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 72 api.path["build"].join("scripts", "slave", "runtest.py"),
74 args= 73 args=
75 ['--run-shell-script', '--target', 'Release', 74 ['--run-shell-script', '--target', 'Release',
76 "--build-properties=%s" % 75 "--build-properties=%s" %
77 api.json.dumps(build_properties, 76 api.json.dumps(build_properties,
78 separators=(',', ':')), 77 separators=(',', ':')),
79 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ 78 '--factory-properties={"blink_config":"chromium","gclient_env":'+\
80 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ 79 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\
81 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ 80 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\
82 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ 81 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\
83 '"halt_on_missing_build":true}', 82 '"halt_on_missing_build":true}',
84 '--annotate=gtest', '--test-type', 'memory test: webkit', 83 '--annotate=gtest', '--test-type', 'memory test: webkit',
85 '--pass-build-dir', '--pass-target', 84 '--pass-build-dir', '--pass-target',
86 r'../../../src\tools\valgrind\chrome_tests.bat', '--test', 'webkit', 85 r'../../../src\tools\valgrind\chrome_tests.bat', '--test', 'webkit',
87 '--tool', 'drmemory_light']) 86 '--tool', 'drmemory_light'])
88 # runtest step 87 # runtest step
89 api.python( 88 api.python(
90 "memory test: webkit", 89 "memory test: webkit",
91 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 90 api.path["build"].join("scripts", "slave", "runtest.py"),
92 args= 91 args=
93 ['--run-shell-script', '--target', 'Release', 92 ['--run-shell-script', '--target', 'Release',
94 "--build-properties=%s" % 93 "--build-properties=%s" %
95 api.json.dumps(build_properties, 94 api.json.dumps(build_properties,
96 separators=(',', ':')), 95 separators=(',', ':')),
97 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ 96 '--factory-properties={"blink_config":"chromium","gclient_env":'+\
98 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ 97 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\
99 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ 98 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\
100 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ 99 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\
101 '"halt_on_missing_build":true}', 100 '"halt_on_missing_build":true}',
102 '--annotate=gtest', '--test-type', 'memory test: webkit', 101 '--annotate=gtest', '--test-type', 'memory test: webkit',
103 '--pass-build-dir', '--pass-target', 102 '--pass-build-dir', '--pass-target',
104 r'../../../src\tools\valgrind\chrome_tests.bat', '--test', 'webkit', 103 r'../../../src\tools\valgrind\chrome_tests.bat', '--test', 'webkit',
105 '--tool', 'drmemory_full']) 104 '--tool', 'drmemory_full'])
106 105
107 106
108 def Windows_Browser__DrMemory_light___1__steps(api): 107 def Windows_Browser__DrMemory_light___1__steps(api):
109 build_properties = api.properties.legacy() 108 build_properties = api.properties.legacy()
110 # svnkill step; not necessary in recipes 109 # svnkill step; not necessary in recipes
111 # update scripts step; implicitly run by recipe engine. 110 # update scripts step; implicitly run by recipe engine.
112 # taskkill step 111 # taskkill step
113 api.python("taskkill", api.infra_paths['build'].join("scripts", "slave", 112 api.python("taskkill", api.path["build"].join("scripts", "slave",
114 "kill_processes.py")) 113 "kill_processes.py"))
115 # bot_update step 114 # bot_update step
116 src_cfg = api.gclient.make_config(GIT_MODE=True) 115 src_cfg = api.gclient.make_config(GIT_MODE=True)
117 soln = src_cfg.solutions.add() 116 soln = src_cfg.solutions.add()
118 soln.name = "src" 117 soln.name = "src"
119 soln.url = "https://chromium.googlesource.com/chromium/src.git" 118 soln.url = "https://chromium.googlesource.com/chromium/src.git"
120 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} 119 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None}
121 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk', 120 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk',
122 'googlecode_url': 'http://%s.googlecode.com/svn', 121 'googlecode_url': 'http://%s.googlecode.com/svn',
123 'nacl_trunk': 122 'nacl_trunk':
(...skipping 11 matching lines...) Expand all
135 build_properties.update(result.json.output.get("properties", {})) 134 build_properties.update(result.json.output.get("properties", {}))
136 # gclient revert step; made unnecessary by bot_update 135 # gclient revert step; made unnecessary by bot_update
137 # gclient update step; made unnecessary by bot_update 136 # gclient update step; made unnecessary by bot_update
138 # gclient runhooks wrapper step 137 # gclient runhooks wrapper step
139 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 138 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1',
140 'GYP_CHROMIUM_NO_ACTION': '1', 139 'GYP_CHROMIUM_NO_ACTION': '1',
141 'LANDMINES_VERBOSE': '1', 140 'LANDMINES_VERBOSE': '1',
142 'DEPOT_TOOLS_UPDATE': '0', 141 'DEPOT_TOOLS_UPDATE': '0',
143 'GYP_DEFINES': ' component=static_library'} 142 'GYP_DEFINES': ' component=static_library'}
144 api.python("gclient runhooks wrapper", 143 api.python("gclient runhooks wrapper",
145 api.infra_paths['build'].join("scripts", "slave", 144 api.path["build"].join("scripts", "slave",
146 "runhooks_wrapper.py"), 145 "runhooks_wrapper.py"),
147 env=env) 146 env=env)
148 # cleanup_temp step 147 # cleanup_temp step
149 api.chromium.cleanup_temp() 148 api.chromium.cleanup_temp()
150 # extract build step 149 # extract build step
151 api.python( 150 api.python(
152 "extract build", 151 "extract build",
153 api.infra_paths['build'].join("scripts", "slave", "extract_build.py"), 152 api.path["build"].join("scripts", "slave", "extract_build.py"),
154 args=["--target", "Release", "--build-archive-url", build_properties[ 153 args=["--target", "Release", "--build-archive-url", build_properties[
155 "parent_build_archive_url"], '--build-properties=%s' % 154 "parent_build_archive_url"], '--build-properties=%s' %
156 api.json.dumps(build_properties, 155 api.json.dumps(build_properties,
157 separators=(',', ':'))]) 156 separators=(',', ':'))])
158 # runtest step 157 # runtest step
159 api.python( 158 api.python(
160 "memory test: browser_tests", 159 "memory test: browser_tests",
161 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 160 api.path["build"].join("scripts", "slave", "runtest.py"),
162 args= 161 args=
163 ['--run-shell-script', '--target', 'Release', "--build-properties=%s" % 162 ['--run-shell-script', '--target', 'Release', "--build-properties=%s" %
164 api.json.dumps(build_properties, 163 api.json.dumps(build_properties,
165 separators=(',', ':')), 164 separators=(',', ':')),
166 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ 165 '--factory-properties={"blink_config":"chromium","gclient_env":'+\
167 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ 166 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\
168 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ 167 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\
169 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ 168 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\
170 '"halt_on_missing_build":true,"retry_failed":false}', 169 '"halt_on_missing_build":true,"retry_failed":false}',
171 '--annotate=gtest', '--test-type', 170 '--annotate=gtest', '--test-type',
172 'memory test: browser_tests_1_of_2', '--pass-build-dir', 171 'memory test: browser_tests_1_of_2', '--pass-build-dir',
173 '--pass-target', '--shard-index', '1', '--total-shards', '2', 172 '--pass-target', '--shard-index', '1', '--total-shards', '2',
174 r'../../../src\tools\valgrind\chrome_tests.bat', '--test', 173 r'../../../src\tools\valgrind\chrome_tests.bat', '--test',
175 'browser_tests', '--tool', 'drmemory_light']) 174 'browser_tests', '--tool', 'drmemory_light'])
176 175
177 176
178 def Windows_Builder__DrMemory__steps(api): 177 def Windows_Builder__DrMemory__steps(api):
179 build_properties = api.properties.legacy() 178 build_properties = api.properties.legacy()
180 # svnkill step; not necessary in recipes 179 # svnkill step; not necessary in recipes
181 # update scripts step; implicitly run by recipe engine. 180 # update scripts step; implicitly run by recipe engine.
182 # taskkill step 181 # taskkill step
183 api.python("taskkill", api.infra_paths['build'].join("scripts", "slave", 182 api.python("taskkill", api.path["build"].join("scripts", "slave",
184 "kill_processes.py")) 183 "kill_processes.py"))
185 # bot_update step 184 # bot_update step
186 src_cfg = api.gclient.make_config(GIT_MODE=True) 185 src_cfg = api.gclient.make_config(GIT_MODE=True)
187 soln = src_cfg.solutions.add() 186 soln = src_cfg.solutions.add()
188 soln.name = "src" 187 soln.name = "src"
189 soln.url = "https://chromium.googlesource.com/chromium/src.git" 188 soln.url = "https://chromium.googlesource.com/chromium/src.git"
190 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} 189 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None}
191 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk', 190 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk',
192 'googlecode_url': 'http://%s.googlecode.com/svn', 191 'googlecode_url': 'http://%s.googlecode.com/svn',
193 'nacl_trunk': 192 'nacl_trunk':
(...skipping 11 matching lines...) Expand all
205 build_properties.update(result.json.output.get("properties", {})) 204 build_properties.update(result.json.output.get("properties", {}))
206 # gclient revert step; made unnecessary by bot_update 205 # gclient revert step; made unnecessary by bot_update
207 # gclient update step; made unnecessary by bot_update 206 # gclient update step; made unnecessary by bot_update
208 # gclient runhooks wrapper step 207 # gclient runhooks wrapper step
209 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 208 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1',
210 'GYP_GENERATORS': 'ninja', 209 'GYP_GENERATORS': 'ninja',
211 'DEPOT_TOOLS_UPDATE': '0', 210 'DEPOT_TOOLS_UPDATE': '0',
212 'GYP_DEFINES': 'build_for_tool=drmemory component=shared_library', 211 'GYP_DEFINES': 'build_for_tool=drmemory component=shared_library',
213 'LANDMINES_VERBOSE': '1'} 212 'LANDMINES_VERBOSE': '1'}
214 api.python("gclient runhooks wrapper", 213 api.python("gclient runhooks wrapper",
215 api.infra_paths['build'].join("scripts", "slave", 214 api.path["build"].join("scripts", "slave",
216 "runhooks_wrapper.py"), 215 "runhooks_wrapper.py"),
217 env=env) 216 env=env)
218 # cleanup_temp step 217 # cleanup_temp step
219 api.chromium.cleanup_temp() 218 api.chromium.cleanup_temp()
220 # compile.py step 219 # compile.py step
221 args = ['--solution', 'out.sln', '--target', 'Release', 220 args = ['--solution', 'out.sln', '--target', 'Release',
222 '--build-tool=ninja', '--', 'chromium_builder_dbg_drmemory_win'] 221 '--build-tool=ninja', '--', 'chromium_builder_dbg_drmemory_win']
223 if "clobber" in api.properties: 222 if "clobber" in api.properties:
224 args.append("--clobber") 223 args.append("--clobber")
225 api.python("compile", 224 api.python("compile",
226 api.infra_paths['build'].join("scripts", "slave", "compile.py"), 225 api.path["build"].join("scripts", "slave", "compile.py"),
227 args=args) 226 args=args)
228 # zip_build step 227 # zip_build step
229 step_result = api.python( 228 step_result = api.python(
230 "zip build", 229 "zip build",
231 api.infra_paths['build'].join("scripts", "slave", "zip_build.py"), 230 api.path["build"].join("scripts", "slave", "zip_build.py"),
232 args= 231 args=
233 ["--json-urls", api.json.output(), 232 ["--json-urls", api.json.output(),
234 "--target", "Release", '--build-url', 233 "--target", "Release", '--build-url',
235 'gs://chromium-build-transfer/drm-cr', '--build-properties=%s' % 234 'gs://chromium-build-transfer/drm-cr', '--build-properties=%s' %
236 api.json.dumps(build_properties, 235 api.json.dumps(build_properties,
237 separators=(',', ':')), 236 separators=(',', ':')),
238 '--factory-properties={"blink_config":"chromium","build_url":'+\ 237 '--factory-properties={"blink_config":"chromium","build_url":'+\
239 '"gs://chromium-build-transfer/drm-cr","gclient_env":'+\ 238 '"gs://chromium-build-transfer/drm-cr","gclient_env":'+\
240 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0"'+\ 239 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0"'+\
241 ',"GYP_DEFINES":'+\ 240 ',"GYP_DEFINES":'+\
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 "root": build_properties.get("root", ""), }}, 361 "root": build_properties.get("root", ""), }},
363 ] 362 ]
364 api.trigger(*trigger_spec) 363 api.trigger(*trigger_spec)
365 364
366 365
367 def Windows_Browser__DrMemory_light___2__steps(api): 366 def Windows_Browser__DrMemory_light___2__steps(api):
368 build_properties = api.properties.legacy() 367 build_properties = api.properties.legacy()
369 # svnkill step; not necessary in recipes 368 # svnkill step; not necessary in recipes
370 # update scripts step; implicitly run by recipe engine. 369 # update scripts step; implicitly run by recipe engine.
371 # taskkill step 370 # taskkill step
372 api.python("taskkill", api.infra_paths['build'].join("scripts", "slave", 371 api.python("taskkill", api.path["build"].join("scripts", "slave",
373 "kill_processes.py")) 372 "kill_processes.py"))
374 # bot_update step 373 # bot_update step
375 src_cfg = api.gclient.make_config(GIT_MODE=True) 374 src_cfg = api.gclient.make_config(GIT_MODE=True)
376 soln = src_cfg.solutions.add() 375 soln = src_cfg.solutions.add()
377 soln.name = "src" 376 soln.name = "src"
378 soln.url = "https://chromium.googlesource.com/chromium/src.git" 377 soln.url = "https://chromium.googlesource.com/chromium/src.git"
379 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} 378 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None}
380 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk', 379 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk',
381 'googlecode_url': 'http://%s.googlecode.com/svn', 380 'googlecode_url': 'http://%s.googlecode.com/svn',
382 'nacl_trunk': 381 'nacl_trunk':
(...skipping 11 matching lines...) Expand all
394 build_properties.update(result.json.output.get("properties", {})) 393 build_properties.update(result.json.output.get("properties", {}))
395 # gclient revert step; made unnecessary by bot_update 394 # gclient revert step; made unnecessary by bot_update
396 # gclient update step; made unnecessary by bot_update 395 # gclient update step; made unnecessary by bot_update
397 # gclient runhooks wrapper step 396 # gclient runhooks wrapper step
398 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 397 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1',
399 'GYP_CHROMIUM_NO_ACTION': '1', 398 'GYP_CHROMIUM_NO_ACTION': '1',
400 'LANDMINES_VERBOSE': '1', 399 'LANDMINES_VERBOSE': '1',
401 'DEPOT_TOOLS_UPDATE': '0', 400 'DEPOT_TOOLS_UPDATE': '0',
402 'GYP_DEFINES': ' component=static_library'} 401 'GYP_DEFINES': ' component=static_library'}
403 api.python("gclient runhooks wrapper", 402 api.python("gclient runhooks wrapper",
404 api.infra_paths['build'].join("scripts", "slave", 403 api.path["build"].join("scripts", "slave",
405 "runhooks_wrapper.py"), 404 "runhooks_wrapper.py"),
406 env=env) 405 env=env)
407 # cleanup_temp step 406 # cleanup_temp step
408 api.chromium.cleanup_temp() 407 api.chromium.cleanup_temp()
409 # extract build step 408 # extract build step
410 api.python( 409 api.python(
411 "extract build", 410 "extract build",
412 api.infra_paths['build'].join("scripts", "slave", "extract_build.py"), 411 api.path["build"].join("scripts", "slave", "extract_build.py"),
413 args=["--target", "Release", "--build-archive-url", build_properties[ 412 args=["--target", "Release", "--build-archive-url", build_properties[
414 "parent_build_archive_url"], '--build-properties=%s' % 413 "parent_build_archive_url"], '--build-properties=%s' %
415 api.json.dumps(build_properties, 414 api.json.dumps(build_properties,
416 separators=(',', ':'))]) 415 separators=(',', ':'))])
417 # runtest step 416 # runtest step
418 api.python( 417 api.python(
419 "memory test: browser_tests", 418 "memory test: browser_tests",
420 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 419 api.path["build"].join("scripts", "slave", "runtest.py"),
421 args= 420 args=
422 ['--run-shell-script', '--target', 'Release', "--build-properties=%s" % 421 ['--run-shell-script', '--target', 'Release', "--build-properties=%s" %
423 api.json.dumps(build_properties, 422 api.json.dumps(build_properties,
424 separators=(',', ':')), 423 separators=(',', ':')),
425 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ 424 '--factory-properties={"blink_config":"chromium","gclient_env":'+\
426 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ 425 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\
427 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ 426 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\
428 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ 427 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\
429 '"halt_on_missing_build":true,"retry_failed":false}', 428 '"halt_on_missing_build":true,"retry_failed":false}',
430 '--annotate=gtest', '--test-type', 429 '--annotate=gtest', '--test-type',
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 api.properties(got_revision='123456789abcdef') + 497 api.properties(got_revision='123456789abcdef') +
499 api.properties(buildnumber='42') + 498 api.properties(buildnumber='42') +
500 api.properties(parent_build_archive_url='abc') + 499 api.properties(parent_build_archive_url='abc') +
501 api.properties(slavename='TestSlave') 500 api.properties(slavename='TestSlave')
502 ) 501 )
503 yield (api.test('builder_not_in_dispatch_directory') + 502 yield (api.test('builder_not_in_dispatch_directory') +
504 api.properties(mastername='chromium.fyi') + 503 api.properties(mastername='chromium.fyi') +
505 api.properties(buildername='nonexistent_builder') + 504 api.properties(buildername='nonexistent_builder') +
506 api.properties(slavename='TestSlave') 505 api.properties(slavename='TestSlave')
507 ) 506 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698