OLD | NEW |
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', |
9 'recipe_engine/json', | 10 'recipe_engine/json', |
10 'recipe_engine/path', | 11 'recipe_engine/path', |
11 'recipe_engine/properties', | 12 'recipe_engine/properties', |
12 'recipe_engine/python', | 13 'recipe_engine/python', |
13 'recipe_engine/step', | 14 'recipe_engine/step', |
14 'trigger', | 15 'trigger', |
15 ] | 16 ] |
16 | 17 |
17 | 18 |
18 def Win8_Tests__2__steps(api): | 19 def Win8_Tests__2__steps(api): |
19 build_properties = api.properties.legacy() | 20 build_properties = api.properties.legacy() |
20 # svnkill step; not necessary in recipes | 21 # svnkill step; not necessary in recipes |
21 # update scripts step; implicitly run by recipe engine. | 22 # update scripts step; implicitly run by recipe engine. |
22 # taskkill step | 23 # taskkill step |
23 api.python("taskkill", api.path["build"].join("scripts", "slave", | 24 api.python("taskkill", api.infra_paths['build'].join("scripts", "slave", |
24 "kill_processes.py")) | 25 "kill_processes.py")) |
25 # bot_update step | 26 # bot_update step |
26 src_cfg = api.gclient.make_config(GIT_MODE=True) | 27 src_cfg = api.gclient.make_config(GIT_MODE=True) |
27 soln = src_cfg.solutions.add() | 28 soln = src_cfg.solutions.add() |
28 soln.name = "src" | 29 soln.name = "src" |
29 soln.url = "https://chromium.googlesource.com/chromium/src.git" | 30 soln.url = "https://chromium.googlesource.com/chromium/src.git" |
30 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} | 31 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} |
31 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk', | 32 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk', |
32 'googlecode_url': 'http://%s.googlecode.com/svn', | 33 'googlecode_url': 'http://%s.googlecode.com/svn', |
33 'nacl_trunk': | 34 'nacl_trunk': |
(...skipping 11 matching lines...) Expand all Loading... |
45 build_properties.update(result.json.output.get("properties", {})) | 46 build_properties.update(result.json.output.get("properties", {})) |
46 # gclient revert step; made unnecessary by bot_update | 47 # gclient revert step; made unnecessary by bot_update |
47 # gclient update step; made unnecessary by bot_update | 48 # gclient update step; made unnecessary by bot_update |
48 # gclient runhooks wrapper step | 49 # gclient runhooks wrapper step |
49 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', | 50 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', |
50 'GYP_CHROMIUM_NO_ACTION': '1', | 51 'GYP_CHROMIUM_NO_ACTION': '1', |
51 'LANDMINES_VERBOSE': '1', | 52 'LANDMINES_VERBOSE': '1', |
52 'DEPOT_TOOLS_UPDATE': '0', | 53 'DEPOT_TOOLS_UPDATE': '0', |
53 'GYP_DEFINES': ' component=static_library'} | 54 'GYP_DEFINES': ' component=static_library'} |
54 api.python("gclient runhooks wrapper", | 55 api.python("gclient runhooks wrapper", |
55 api.path["build"].join("scripts", "slave", | 56 api.infra_paths['build'].join("scripts", "slave", |
56 "runhooks_wrapper.py"), | 57 "runhooks_wrapper.py"), |
57 env=env) | 58 env=env) |
58 # cleanup_temp step | 59 # cleanup_temp step |
59 api.chromium.cleanup_temp() | 60 api.chromium.cleanup_temp() |
60 # extract build step | 61 # extract build step |
61 api.python( | 62 api.python( |
62 "extract build", | 63 "extract build", |
63 api.path["build"].join("scripts", "slave", "extract_build.py"), | 64 api.infra_paths['build'].join("scripts", "slave", "extract_build.py"), |
64 args=["--target", "Release", "--build-archive-url", build_properties[ | 65 args=["--target", "Release", "--build-archive-url", build_properties[ |
65 "parent_build_archive_url"], '--build-properties=%s' % | 66 "parent_build_archive_url"], '--build-properties=%s' % |
66 api.json.dumps(build_properties, | 67 api.json.dumps(build_properties, |
67 separators=(',', ':'))]) | 68 separators=(',', ':'))]) |
68 with api.step.defer_results(): | 69 with api.step.defer_results(): |
69 # runtest step | 70 # runtest step |
70 api.python( | 71 api.python( |
71 "browser_tests", | 72 "browser_tests", |
72 api.path["build"].join("scripts", "slave", "runtest.py"), | 73 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
73 args= | 74 args= |
74 ['--target', 'Release', "--build-properties=%s" % | 75 ['--target', 'Release', "--build-properties=%s" % |
75 api.json.dumps(build_properties, | 76 api.json.dumps(build_properties, |
76 separators=(',', ':')), | 77 separators=(',', ':')), |
77 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 78 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
78 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0"'+\ | 79 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0"'+\ |
79 ',"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 80 ',"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
80 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 81 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
81 '"process_dumps":true}', | 82 '"process_dumps":true}', |
82 '--annotate=gtest', '--test-type', 'browser_tests', | 83 '--annotate=gtest', '--test-type', 'browser_tests', |
83 'browser_tests.exe', '--lib=browser_tests', '--gtest_print_time']) | 84 'browser_tests.exe', '--lib=browser_tests', '--gtest_print_time']) |
84 # runtest step | 85 # runtest step |
85 api.python( | 86 api.python( |
86 "content_browsertests", | 87 "content_browsertests", |
87 api.path["build"].join("scripts", "slave", "runtest.py"), | 88 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
88 args= | 89 args= |
89 ['--target', 'Release', "--build-properties=%s" % | 90 ['--target', 'Release', "--build-properties=%s" % |
90 api.json.dumps(build_properties, | 91 api.json.dumps(build_properties, |
91 separators=(',', ':')), | 92 separators=(',', ':')), |
92 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 93 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
93 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0"'+\ | 94 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0"'+\ |
94 ',"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 95 ',"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
95 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 96 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
96 '"process_dumps":true}', | 97 '"process_dumps":true}', |
97 '--annotate=gtest', '--test-type', 'content_browsertests', | 98 '--annotate=gtest', '--test-type', 'content_browsertests', |
98 'content_browsertests.exe', '--gtest_print_time']) | 99 'content_browsertests.exe', '--gtest_print_time']) |
99 # process dumps step | 100 # process dumps step |
100 api.python("process dumps", | 101 api.python("process dumps", |
101 api.path["build"].join("scripts", "slave", "process_dumps.py"), | 102 api.infra_paths['build'].join("scripts", "slave", "process_dump
s.py"), |
102 args=["--target", "Release"]) | 103 args=["--target", "Release"]) |
103 | 104 |
104 | 105 |
105 def Chromium_Builder_steps(api): | 106 def Chromium_Builder_steps(api): |
106 build_properties = api.properties.legacy() | 107 build_properties = api.properties.legacy() |
107 # svnkill step; not necessary in recipes | 108 # svnkill step; not necessary in recipes |
108 # update scripts step; implicitly run by recipe engine. | 109 # update scripts step; implicitly run by recipe engine. |
109 # taskkill step | 110 # taskkill step |
110 api.python("taskkill", api.path["build"].join("scripts", "slave", | 111 api.python("taskkill", api.infra_paths['build'].join("scripts", "slave", |
111 "kill_processes.py")) | 112 "kill_processes.py")) |
112 # bot_update step | 113 # bot_update step |
113 src_cfg = api.gclient.make_config(GIT_MODE=True) | 114 src_cfg = api.gclient.make_config(GIT_MODE=True) |
114 soln = src_cfg.solutions.add() | 115 soln = src_cfg.solutions.add() |
115 soln.name = "src" | 116 soln.name = "src" |
116 soln.url = "https://chromium.googlesource.com/chromium/src.git" | 117 soln.url = "https://chromium.googlesource.com/chromium/src.git" |
117 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} | 118 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} |
118 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk', | 119 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk', |
119 'googlecode_url': 'http://%s.googlecode.com/svn', | 120 'googlecode_url': 'http://%s.googlecode.com/svn', |
120 'nacl_trunk': | 121 'nacl_trunk': |
(...skipping 11 matching lines...) Expand all Loading... |
132 build_properties.update(result.json.output.get("properties", {})) | 133 build_properties.update(result.json.output.get("properties", {})) |
133 # gclient revert step; made unnecessary by bot_update | 134 # gclient revert step; made unnecessary by bot_update |
134 # gclient update step; made unnecessary by bot_update | 135 # gclient update step; made unnecessary by bot_update |
135 # gclient runhooks wrapper step | 136 # gclient runhooks wrapper step |
136 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', | 137 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', |
137 'LANDMINES_VERBOSE': '1', | 138 'LANDMINES_VERBOSE': '1', |
138 'DEPOT_TOOLS_UPDATE': '0', | 139 'DEPOT_TOOLS_UPDATE': '0', |
139 'GYP_DEFINES': 'fastbuild=1 component=static_library', | 140 'GYP_DEFINES': 'fastbuild=1 component=static_library', |
140 'GYP_MSVS_VERSION': '2015'} | 141 'GYP_MSVS_VERSION': '2015'} |
141 api.python("gclient runhooks wrapper", | 142 api.python("gclient runhooks wrapper", |
142 api.path["build"].join("scripts", "slave", | 143 api.infra_paths['build'].join("scripts", "slave", |
143 "runhooks_wrapper.py"), | 144 "runhooks_wrapper.py"), |
144 env=env) | 145 env=env) |
145 # cleanup_temp step | 146 # cleanup_temp step |
146 api.chromium.cleanup_temp() | 147 api.chromium.cleanup_temp() |
147 # compile.py step | 148 # compile.py step |
148 args = ['--solution', 'all.sln', '--project', 'chromium_builder_tests', | 149 args = ['--solution', 'all.sln', '--project', 'chromium_builder_tests', |
149 '--target', 'Release', '--compiler=goma'] | 150 '--target', 'Release', '--compiler=goma'] |
150 if "clobber" in api.properties: | 151 if "clobber" in api.properties: |
151 args.append("--clobber") | 152 args.append("--clobber") |
152 api.python("compile", | 153 api.python("compile", |
153 api.path["build"].join("scripts", "slave", "compile.py"), | 154 api.infra_paths['build'].join("scripts", "slave", "compile.py"), |
154 args=args) | 155 args=args) |
155 # zip_build step | 156 # zip_build step |
156 step_result = api.python( | 157 step_result = api.python( |
157 "zip build", | 158 "zip build", |
158 api.path["build"].join("scripts", "slave", "zip_build.py"), | 159 api.infra_paths['build'].join("scripts", "slave", "zip_build.py"), |
159 args= | 160 args= |
160 ["--json-urls", api.json.output(), | 161 ["--json-urls", api.json.output(), |
161 "--target", "Release", '--build-url', | 162 "--target", "Release", '--build-url', |
162 'gs://chromium-build-transfer/Chromium FYI Builder', | 163 'gs://chromium-build-transfer/Chromium FYI Builder', |
163 '--build-properties=%s' % api.json.dumps(build_properties, | 164 '--build-properties=%s' % api.json.dumps(build_properties, |
164 separators=(',', ':')), | 165 separators=(',', ':')), |
165 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 166 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
166 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 167 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
167 '"GYP_DEFINES":"fastbuild=1 component=static_library",'+\ | 168 '"GYP_DEFINES":"fastbuild=1 component=static_library",'+\ |
168 '"GYP_MSVS_VERSION":"2015","LANDMINES_VERBOSE":"1"},'+\ | 169 '"GYP_MSVS_VERSION":"2015","LANDMINES_VERBOSE":"1"},'+\ |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 "root": build_properties.get("root", ""), }}, | 288 "root": build_properties.get("root", ""), }}, |
288 ] | 289 ] |
289 api.trigger(*trigger_spec) | 290 api.trigger(*trigger_spec) |
290 | 291 |
291 | 292 |
292 def Chromium_Win_MiniInstaller_Tests_steps(api): | 293 def Chromium_Win_MiniInstaller_Tests_steps(api): |
293 build_properties = api.properties.legacy() | 294 build_properties = api.properties.legacy() |
294 # svnkill step; not necessary in recipes | 295 # svnkill step; not necessary in recipes |
295 # update scripts step; implicitly run by recipe engine. | 296 # update scripts step; implicitly run by recipe engine. |
296 # taskkill step | 297 # taskkill step |
297 api.python("taskkill", api.path["build"].join("scripts", "slave", | 298 api.python("taskkill", api.infra_paths['build'].join("scripts", "slave", |
298 "kill_processes.py")) | 299 "kill_processes.py")) |
299 # bot_update step | 300 # bot_update step |
300 src_cfg = api.gclient.make_config(GIT_MODE=True) | 301 src_cfg = api.gclient.make_config(GIT_MODE=True) |
301 soln = src_cfg.solutions.add() | 302 soln = src_cfg.solutions.add() |
302 soln.name = "src" | 303 soln.name = "src" |
303 soln.url = "https://chromium.googlesource.com/chromium/src.git" | 304 soln.url = "https://chromium.googlesource.com/chromium/src.git" |
304 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} | 305 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} |
305 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk', | 306 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk', |
306 'googlecode_url': 'http://%s.googlecode.com/svn', | 307 'googlecode_url': 'http://%s.googlecode.com/svn', |
307 'nacl_trunk': | 308 'nacl_trunk': |
(...skipping 11 matching lines...) Expand all Loading... |
319 build_properties.update(result.json.output.get("properties", {})) | 320 build_properties.update(result.json.output.get("properties", {})) |
320 # gclient revert step; made unnecessary by bot_update | 321 # gclient revert step; made unnecessary by bot_update |
321 # gclient update step; made unnecessary by bot_update | 322 # gclient update step; made unnecessary by bot_update |
322 # gclient runhooks wrapper step | 323 # gclient runhooks wrapper step |
323 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', | 324 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', |
324 'GYP_CHROMIUM_NO_ACTION': '1', | 325 'GYP_CHROMIUM_NO_ACTION': '1', |
325 'LANDMINES_VERBOSE': '1', | 326 'LANDMINES_VERBOSE': '1', |
326 'DEPOT_TOOLS_UPDATE': '0', | 327 'DEPOT_TOOLS_UPDATE': '0', |
327 'GYP_DEFINES': ' component=static_library'} | 328 'GYP_DEFINES': ' component=static_library'} |
328 api.python("gclient runhooks wrapper", | 329 api.python("gclient runhooks wrapper", |
329 api.path["build"].join("scripts", "slave", | 330 api.infra_paths['build'].join("scripts", "slave", |
330 "runhooks_wrapper.py"), | 331 "runhooks_wrapper.py"), |
331 env=env) | 332 env=env) |
332 # cleanup_temp step | 333 # cleanup_temp step |
333 api.chromium.cleanup_temp() | 334 api.chromium.cleanup_temp() |
334 # extract build step | 335 # extract build step |
335 api.python( | 336 api.python( |
336 "extract build", | 337 "extract build", |
337 api.path["build"].join("scripts", "slave", "extract_build.py"), | 338 api.infra_paths['build'].join("scripts", "slave", "extract_build.py"), |
338 args=["--target", "Release", "--build-archive-url", build_properties[ | 339 args=["--target", "Release", "--build-archive-url", build_properties[ |
339 "parent_build_archive_url"], '--build-properties=%s' % | 340 "parent_build_archive_url"], '--build-properties=%s' % |
340 api.json.dumps(build_properties, | 341 api.json.dumps(build_properties, |
341 separators=(',', ':'))]) | 342 separators=(',', ':'))]) |
342 with api.step.defer_results(): | 343 with api.step.defer_results(): |
343 # test mini installer wrapper step | 344 # test mini installer wrapper step |
344 api.python("test installer", | 345 api.python("test installer", |
345 api.path["build"].join("scripts", "slave", "chromium", | 346 api.infra_paths['build'].join("scripts", "slave", "chromium", |
346 "test_mini_installer_wrapper.py"), | 347 "test_mini_installer_wrapper.py"), |
347 args=["--target", "Release"]) | 348 args=["--target", "Release"]) |
348 # process dumps step | 349 # process dumps step |
349 api.python("process dumps", | 350 api.python("process dumps", |
350 api.path["build"].join("scripts", "slave", "process_dumps.py"), | 351 api.infra_paths['build'].join("scripts", "slave", "process_dump
s.py"), |
351 args=["--target", "Release"]) | 352 args=["--target", "Release"]) |
352 | 353 |
353 | 354 |
354 def Win8_Tests__1__steps(api): | 355 def Win8_Tests__1__steps(api): |
355 build_properties = api.properties.legacy() | 356 build_properties = api.properties.legacy() |
356 # svnkill step; not necessary in recipes | 357 # svnkill step; not necessary in recipes |
357 # update scripts step; implicitly run by recipe engine. | 358 # update scripts step; implicitly run by recipe engine. |
358 # taskkill step | 359 # taskkill step |
359 api.python("taskkill", api.path["build"].join("scripts", "slave", | 360 api.python("taskkill", api.infra_paths['build'].join("scripts", "slave", |
360 "kill_processes.py")) | 361 "kill_processes.py")) |
361 # bot_update step | 362 # bot_update step |
362 src_cfg = api.gclient.make_config(GIT_MODE=True) | 363 src_cfg = api.gclient.make_config(GIT_MODE=True) |
363 soln = src_cfg.solutions.add() | 364 soln = src_cfg.solutions.add() |
364 soln.name = "src" | 365 soln.name = "src" |
365 soln.url = "https://chromium.googlesource.com/chromium/src.git" | 366 soln.url = "https://chromium.googlesource.com/chromium/src.git" |
366 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} | 367 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} |
367 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk', | 368 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk', |
368 'googlecode_url': 'http://%s.googlecode.com/svn', | 369 'googlecode_url': 'http://%s.googlecode.com/svn', |
369 'nacl_trunk': | 370 'nacl_trunk': |
(...skipping 11 matching lines...) Expand all Loading... |
381 build_properties.update(result.json.output.get("properties", {})) | 382 build_properties.update(result.json.output.get("properties", {})) |
382 # gclient revert step; made unnecessary by bot_update | 383 # gclient revert step; made unnecessary by bot_update |
383 # gclient update step; made unnecessary by bot_update | 384 # gclient update step; made unnecessary by bot_update |
384 # gclient runhooks wrapper step | 385 # gclient runhooks wrapper step |
385 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', | 386 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', |
386 'GYP_CHROMIUM_NO_ACTION': '1', | 387 'GYP_CHROMIUM_NO_ACTION': '1', |
387 'LANDMINES_VERBOSE': '1', | 388 'LANDMINES_VERBOSE': '1', |
388 'DEPOT_TOOLS_UPDATE': '0', | 389 'DEPOT_TOOLS_UPDATE': '0', |
389 'GYP_DEFINES': ' component=static_library'} | 390 'GYP_DEFINES': ' component=static_library'} |
390 api.python("gclient runhooks wrapper", | 391 api.python("gclient runhooks wrapper", |
391 api.path["build"].join("scripts", "slave", | 392 api.infra_paths['build'].join("scripts", "slave", |
392 "runhooks_wrapper.py"), | 393 "runhooks_wrapper.py"), |
393 env=env) | 394 env=env) |
394 # cleanup_temp step | 395 # cleanup_temp step |
395 api.chromium.cleanup_temp() | 396 api.chromium.cleanup_temp() |
396 # extract build step | 397 # extract build step |
397 api.python( | 398 api.python( |
398 "extract build", | 399 "extract build", |
399 api.path["build"].join("scripts", "slave", "extract_build.py"), | 400 api.infra_paths['build'].join("scripts", "slave", "extract_build.py"), |
400 args=["--target", "Release", "--build-archive-url", build_properties[ | 401 args=["--target", "Release", "--build-archive-url", build_properties[ |
401 "parent_build_archive_url"], '--build-properties=%s' % | 402 "parent_build_archive_url"], '--build-properties=%s' % |
402 api.json.dumps(build_properties, | 403 api.json.dumps(build_properties, |
403 separators=(',', ':'))]) | 404 separators=(',', ':'))]) |
404 with api.step.defer_results(): | 405 with api.step.defer_results(): |
405 # runtest step | 406 # runtest step |
406 api.python( | 407 api.python( |
407 "base_unittests", | 408 "base_unittests", |
408 api.path["build"].join("scripts", "slave", "runtest.py"), | 409 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
409 args= | 410 args= |
410 ['--target', 'Release', "--build-properties=%s" % | 411 ['--target', 'Release', "--build-properties=%s" % |
411 api.json.dumps(build_properties, | 412 api.json.dumps(build_properties, |
412 separators=(',', ':')), | 413 separators=(',', ':')), |
413 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 414 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
414 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 415 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
415 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 416 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
416 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 417 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
417 '"process_dumps":true}', | 418 '"process_dumps":true}', |
418 '--annotate=gtest', '--test-type', 'base_unittests', | 419 '--annotate=gtest', '--test-type', 'base_unittests', |
419 'base_unittests.exe', '--gtest_print_time']) | 420 'base_unittests.exe', '--gtest_print_time']) |
420 # runtest step | 421 # runtest step |
421 api.python( | 422 api.python( |
422 "cacheinvalidation_unittests", | 423 "cacheinvalidation_unittests", |
423 api.path["build"].join("scripts", "slave", "runtest.py"), | 424 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
424 args= | 425 args= |
425 ['--target', 'Release', "--build-properties=%s" % | 426 ['--target', 'Release', "--build-properties=%s" % |
426 api.json.dumps(build_properties, | 427 api.json.dumps(build_properties, |
427 separators=(',', ':')), | 428 separators=(',', ':')), |
428 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 429 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
429 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 430 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
430 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 431 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
431 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 432 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
432 '"process_dumps":true}', | 433 '"process_dumps":true}', |
433 '--annotate=gtest', '--test-type', 'cacheinvalidation_unittests', | 434 '--annotate=gtest', '--test-type', 'cacheinvalidation_unittests', |
434 'cacheinvalidation_unittests.exe', '--gtest_print_time']) | 435 'cacheinvalidation_unittests.exe', '--gtest_print_time']) |
435 # runtest step | 436 # runtest step |
436 api.python( | 437 api.python( |
437 "chrome_elf_unittests", | 438 "chrome_elf_unittests", |
438 api.path["build"].join("scripts", "slave", "runtest.py"), | 439 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
439 args= | 440 args= |
440 ['--target', 'Release', "--build-properties=%s" % | 441 ['--target', 'Release', "--build-properties=%s" % |
441 api.json.dumps(build_properties, | 442 api.json.dumps(build_properties, |
442 separators=(',', ':')), | 443 separators=(',', ':')), |
443 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 444 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
444 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 445 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
445 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 446 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
446 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 447 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
447 '"process_dumps":true}', | 448 '"process_dumps":true}', |
448 '--annotate=gtest', '--test-type', 'chrome_elf_unittests', | 449 '--annotate=gtest', '--test-type', 'chrome_elf_unittests', |
449 'chrome_elf_unittests.exe', '--gtest_print_time']) | 450 'chrome_elf_unittests.exe', '--gtest_print_time']) |
450 # runtest step | 451 # runtest step |
451 api.python( | 452 api.python( |
452 "components_unittests", | 453 "components_unittests", |
453 api.path["build"].join("scripts", "slave", "runtest.py"), | 454 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
454 args= | 455 args= |
455 ['--target', 'Release', "--build-properties=%s" % | 456 ['--target', 'Release', "--build-properties=%s" % |
456 api.json.dumps(build_properties, | 457 api.json.dumps(build_properties, |
457 separators=(',', ':')), | 458 separators=(',', ':')), |
458 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 459 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
459 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 460 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
460 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 461 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
461 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 462 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
462 '"process_dumps":true}', | 463 '"process_dumps":true}', |
463 '--annotate=gtest', '--test-type', 'components_unittests', | 464 '--annotate=gtest', '--test-type', 'components_unittests', |
464 'components_unittests.exe', '--gtest_print_time']) | 465 'components_unittests.exe', '--gtest_print_time']) |
465 # runtest step | 466 # runtest step |
466 api.python( | 467 api.python( |
467 "courgette_unittests", | 468 "courgette_unittests", |
468 api.path["build"].join("scripts", "slave", "runtest.py"), | 469 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
469 args= | 470 args= |
470 ['--target', 'Release', "--build-properties=%s" % | 471 ['--target', 'Release', "--build-properties=%s" % |
471 api.json.dumps(build_properties, | 472 api.json.dumps(build_properties, |
472 separators=(',', ':')), | 473 separators=(',', ':')), |
473 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 474 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
474 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 475 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
475 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 476 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
476 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 477 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
477 '"process_dumps":true}', | 478 '"process_dumps":true}', |
478 '--annotate=gtest', '--test-type', 'courgette_unittests', | 479 '--annotate=gtest', '--test-type', 'courgette_unittests', |
479 'courgette_unittests.exe', '--gtest_print_time']) | 480 'courgette_unittests.exe', '--gtest_print_time']) |
480 # runtest step | 481 # runtest step |
481 api.python( | 482 api.python( |
482 "crypto_unittests", | 483 "crypto_unittests", |
483 api.path["build"].join("scripts", "slave", "runtest.py"), | 484 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
484 args= | 485 args= |
485 ['--target', 'Release', "--build-properties=%s" % | 486 ['--target', 'Release', "--build-properties=%s" % |
486 api.json.dumps(build_properties, | 487 api.json.dumps(build_properties, |
487 separators=(',', ':')), | 488 separators=(',', ':')), |
488 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 489 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
489 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 490 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
490 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 491 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
491 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 492 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
492 '"process_dumps":true}', | 493 '"process_dumps":true}', |
493 '--annotate=gtest', '--test-type', 'crypto_unittests', | 494 '--annotate=gtest', '--test-type', 'crypto_unittests', |
494 'crypto_unittests.exe', '--gtest_print_time']) | 495 'crypto_unittests.exe', '--gtest_print_time']) |
495 # runtest step | 496 # runtest step |
496 api.python( | 497 api.python( |
497 "extensions_unittests", | 498 "extensions_unittests", |
498 api.path["build"].join("scripts", "slave", "runtest.py"), | 499 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
499 args= | 500 args= |
500 ['--target', 'Release', "--build-properties=%s" % | 501 ['--target', 'Release', "--build-properties=%s" % |
501 api.json.dumps(build_properties, | 502 api.json.dumps(build_properties, |
502 separators=(',', ':')), | 503 separators=(',', ':')), |
503 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 504 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
504 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 505 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
505 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 506 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
506 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 507 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
507 '"process_dumps":true}', | 508 '"process_dumps":true}', |
508 '--annotate=gtest', '--test-type', 'extensions_unittests', | 509 '--annotate=gtest', '--test-type', 'extensions_unittests', |
509 'extensions_unittests.exe', '--gtest_print_time']) | 510 'extensions_unittests.exe', '--gtest_print_time']) |
510 # runtest step | 511 # runtest step |
511 api.python( | 512 api.python( |
512 "gcm_unit_tests", | 513 "gcm_unit_tests", |
513 api.path["build"].join("scripts", "slave", "runtest.py"), | 514 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
514 args= | 515 args= |
515 ['--target', 'Release', "--build-properties=%s" % | 516 ['--target', 'Release', "--build-properties=%s" % |
516 api.json.dumps(build_properties, | 517 api.json.dumps(build_properties, |
517 separators=(',', ':')), | 518 separators=(',', ':')), |
518 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 519 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
519 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 520 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
520 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 521 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
521 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 522 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
522 '"process_dumps":true}', | 523 '"process_dumps":true}', |
523 '--annotate=gtest', '--test-type', 'gcm_unit_tests', | 524 '--annotate=gtest', '--test-type', 'gcm_unit_tests', |
524 'gcm_unit_tests.exe', '--gtest_print_time']) | 525 'gcm_unit_tests.exe', '--gtest_print_time']) |
525 # runtest step | 526 # runtest step |
526 api.python( | 527 api.python( |
527 "google_apis_unittests", | 528 "google_apis_unittests", |
528 api.path["build"].join("scripts", "slave", "runtest.py"), | 529 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
529 args= | 530 args= |
530 ['--target', 'Release', "--build-properties=%s" % | 531 ['--target', 'Release', "--build-properties=%s" % |
531 api.json.dumps(build_properties, | 532 api.json.dumps(build_properties, |
532 separators=(',', ':')), | 533 separators=(',', ':')), |
533 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 534 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
534 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 535 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
535 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 536 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
536 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 537 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
537 '"process_dumps":true}', | 538 '"process_dumps":true}', |
538 '--annotate=gtest', '--test-type', 'google_apis_unittests', | 539 '--annotate=gtest', '--test-type', 'google_apis_unittests', |
539 'google_apis_unittests.exe', '--gtest_print_time']) | 540 'google_apis_unittests.exe', '--gtest_print_time']) |
540 # runtest step | 541 # runtest step |
541 api.python( | 542 api.python( |
542 "gpu_unittests", | 543 "gpu_unittests", |
543 api.path["build"].join("scripts", "slave", "runtest.py"), | 544 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
544 args= | 545 args= |
545 ['--target', 'Release', "--build-properties=%s" % | 546 ['--target', 'Release', "--build-properties=%s" % |
546 api.json.dumps(build_properties, | 547 api.json.dumps(build_properties, |
547 separators=(',', ':')), | 548 separators=(',', ':')), |
548 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 549 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
549 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 550 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
550 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 551 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
551 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 552 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
552 '"process_dumps":true}', | 553 '"process_dumps":true}', |
553 '--annotate=gtest', '--test-type', 'gpu_unittests', | 554 '--annotate=gtest', '--test-type', 'gpu_unittests', |
554 'gpu_unittests.exe', '--gmock_verbose=error', '--gtest_print_time']) | 555 'gpu_unittests.exe', '--gmock_verbose=error', '--gtest_print_time']) |
555 # runtest step | 556 # runtest step |
556 api.python( | 557 api.python( |
557 "url_unittests", | 558 "url_unittests", |
558 api.path["build"].join("scripts", "slave", "runtest.py"), | 559 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
559 args= | 560 args= |
560 ['--target', 'Release', "--build-properties=%s" % | 561 ['--target', 'Release', "--build-properties=%s" % |
561 api.json.dumps(build_properties, | 562 api.json.dumps(build_properties, |
562 separators=(',', ':')), | 563 separators=(',', ':')), |
563 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 564 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
564 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 565 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
565 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 566 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
566 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 567 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
567 '"process_dumps":true}', | 568 '"process_dumps":true}', |
568 '--annotate=gtest', '--test-type', 'url_unittests', | 569 '--annotate=gtest', '--test-type', 'url_unittests', |
569 'url_unittests.exe', '--gtest_print_time']) | 570 'url_unittests.exe', '--gtest_print_time']) |
570 # runtest step | 571 # runtest step |
571 api.python( | 572 api.python( |
572 "jingle_unittests", | 573 "jingle_unittests", |
573 api.path["build"].join("scripts", "slave", "runtest.py"), | 574 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
574 args= | 575 args= |
575 ['--target', 'Release', "--build-properties=%s" % | 576 ['--target', 'Release', "--build-properties=%s" % |
576 api.json.dumps(build_properties, | 577 api.json.dumps(build_properties, |
577 separators=(',', ':')), | 578 separators=(',', ':')), |
578 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 579 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
579 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 580 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
580 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 581 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
581 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 582 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
582 '"process_dumps":true}', | 583 '"process_dumps":true}', |
583 '--annotate=gtest', '--test-type', 'jingle_unittests', | 584 '--annotate=gtest', '--test-type', 'jingle_unittests', |
584 'jingle_unittests.exe', '--gtest_print_time']) | 585 'jingle_unittests.exe', '--gtest_print_time']) |
585 # runtest step | 586 # runtest step |
586 api.python( | 587 api.python( |
587 "device_unittests", | 588 "device_unittests", |
588 api.path["build"].join("scripts", "slave", "runtest.py"), | 589 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
589 args= | 590 args= |
590 ['--target', 'Release', "--build-properties=%s" % | 591 ['--target', 'Release', "--build-properties=%s" % |
591 api.json.dumps(build_properties, | 592 api.json.dumps(build_properties, |
592 separators=(',', ':')), | 593 separators=(',', ':')), |
593 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 594 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
594 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 595 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
595 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 596 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
596 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 597 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
597 '"process_dumps":true}', | 598 '"process_dumps":true}', |
598 '--annotate=gtest', '--test-type', 'device_unittests', | 599 '--annotate=gtest', '--test-type', 'device_unittests', |
599 'device_unittests.exe', '--gtest_print_time']) | 600 'device_unittests.exe', '--gtest_print_time']) |
600 # runtest step | 601 # runtest step |
601 api.python( | 602 api.python( |
602 "media_unittests", | 603 "media_unittests", |
603 api.path["build"].join("scripts", "slave", "runtest.py"), | 604 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
604 args= | 605 args= |
605 ['--target', 'Release', "--build-properties=%s" % | 606 ['--target', 'Release', "--build-properties=%s" % |
606 api.json.dumps(build_properties, | 607 api.json.dumps(build_properties, |
607 separators=(',', ':')), | 608 separators=(',', ':')), |
608 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 609 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
609 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 610 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
610 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 611 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
611 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 612 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
612 '"process_dumps":true}', | 613 '"process_dumps":true}', |
613 '--annotate=gtest', '--test-type', 'media_unittests', | 614 '--annotate=gtest', '--test-type', 'media_unittests', |
614 'media_unittests.exe', '--gtest_print_time']) | 615 'media_unittests.exe', '--gtest_print_time']) |
615 # runtest step | 616 # runtest step |
616 api.python( | 617 api.python( |
617 "net_unittests", | 618 "net_unittests", |
618 api.path["build"].join("scripts", "slave", "runtest.py"), | 619 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
619 args= | 620 args= |
620 ['--target', 'Release', "--build-properties=%s" % | 621 ['--target', 'Release', "--build-properties=%s" % |
621 api.json.dumps(build_properties, | 622 api.json.dumps(build_properties, |
622 separators=(',', ':')), | 623 separators=(',', ':')), |
623 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 624 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
624 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 625 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
625 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 626 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
626 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 627 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
627 '"process_dumps":true}', | 628 '"process_dumps":true}', |
628 '--annotate=gtest', '--test-type', 'net_unittests', | 629 '--annotate=gtest', '--test-type', 'net_unittests', |
629 'net_unittests.exe', '--gtest_print_time']) | 630 'net_unittests.exe', '--gtest_print_time']) |
630 # runtest step | 631 # runtest step |
631 api.python( | 632 api.python( |
632 "ppapi_unittests", | 633 "ppapi_unittests", |
633 api.path["build"].join("scripts", "slave", "runtest.py"), | 634 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
634 args= | 635 args= |
635 ['--target', 'Release', "--build-properties=%s" % | 636 ['--target', 'Release', "--build-properties=%s" % |
636 api.json.dumps(build_properties, | 637 api.json.dumps(build_properties, |
637 separators=(',', ':')), | 638 separators=(',', ':')), |
638 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 639 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
639 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 640 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
640 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 641 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
641 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 642 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
642 '"process_dumps":true}', | 643 '"process_dumps":true}', |
643 '--annotate=gtest', '--test-type', 'ppapi_unittests', | 644 '--annotate=gtest', '--test-type', 'ppapi_unittests', |
644 'ppapi_unittests.exe', '--gtest_print_time']) | 645 'ppapi_unittests.exe', '--gtest_print_time']) |
645 # runtest step | 646 # runtest step |
646 api.python( | 647 api.python( |
647 "printing_unittests", | 648 "printing_unittests", |
648 api.path["build"].join("scripts", "slave", "runtest.py"), | 649 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
649 args= | 650 args= |
650 ['--target', 'Release', "--build-properties=%s" % | 651 ['--target', 'Release', "--build-properties=%s" % |
651 api.json.dumps(build_properties, | 652 api.json.dumps(build_properties, |
652 separators=(',', ':')), | 653 separators=(',', ':')), |
653 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 654 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
654 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 655 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
655 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 656 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
656 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 657 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
657 '"process_dumps":true}', | 658 '"process_dumps":true}', |
658 '--annotate=gtest', '--test-type', 'printing_unittests', | 659 '--annotate=gtest', '--test-type', 'printing_unittests', |
659 'printing_unittests.exe', '--gtest_print_time']) | 660 'printing_unittests.exe', '--gtest_print_time']) |
660 # runtest step | 661 # runtest step |
661 api.python( | 662 api.python( |
662 "remoting_unittests", | 663 "remoting_unittests", |
663 api.path["build"].join("scripts", "slave", "runtest.py"), | 664 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
664 args= | 665 args= |
665 ['--target', 'Release', "--build-properties=%s" % | 666 ['--target', 'Release', "--build-properties=%s" % |
666 api.json.dumps(build_properties, | 667 api.json.dumps(build_properties, |
667 separators=(',', ':')), | 668 separators=(',', ':')), |
668 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 669 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
669 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 670 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
670 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 671 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
671 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 672 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
672 '"process_dumps":true}', | 673 '"process_dumps":true}', |
673 '--annotate=gtest', '--test-type', 'remoting_unittests', | 674 '--annotate=gtest', '--test-type', 'remoting_unittests', |
674 'remoting_unittests.exe', '--gtest_print_time']) | 675 'remoting_unittests.exe', '--gtest_print_time']) |
675 # runtest step | 676 # runtest step |
676 api.python( | 677 api.python( |
677 "sbox_unittests", | 678 "sbox_unittests", |
678 api.path["build"].join("scripts", "slave", "runtest.py"), | 679 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
679 args= | 680 args= |
680 ['--target', 'Release', "--build-properties=%s" % | 681 ['--target', 'Release', "--build-properties=%s" % |
681 api.json.dumps(build_properties, | 682 api.json.dumps(build_properties, |
682 separators=(',', ':')), | 683 separators=(',', ':')), |
683 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 684 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
684 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 685 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
685 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 686 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
686 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 687 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
687 '"process_dumps":true}', | 688 '"process_dumps":true}', |
688 '--annotate=gtest', '--test-type', 'sbox_unittests', | 689 '--annotate=gtest', '--test-type', 'sbox_unittests', |
689 'sbox_unittests.exe', '--gtest_print_time']) | 690 'sbox_unittests.exe', '--gtest_print_time']) |
690 # runtest step | 691 # runtest step |
691 api.python( | 692 api.python( |
692 "sbox_integration_tests", | 693 "sbox_integration_tests", |
693 api.path["build"].join("scripts", "slave", "runtest.py"), | 694 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
694 args= | 695 args= |
695 ['--target', 'Release', "--build-properties=%s" % | 696 ['--target', 'Release', "--build-properties=%s" % |
696 api.json.dumps(build_properties, | 697 api.json.dumps(build_properties, |
697 separators=(',', ':')), | 698 separators=(',', ':')), |
698 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 699 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
699 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 700 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
700 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 701 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
701 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 702 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
702 '"process_dumps":true}', | 703 '"process_dumps":true}', |
703 '--annotate=gtest', '--test-type', 'sbox_integration_tests', | 704 '--annotate=gtest', '--test-type', 'sbox_integration_tests', |
704 'sbox_integration_tests.exe', '--gtest_print_time']) | 705 'sbox_integration_tests.exe', '--gtest_print_time']) |
705 # runtest step | 706 # runtest step |
706 api.python( | 707 api.python( |
707 "sbox_validation_tests", | 708 "sbox_validation_tests", |
708 api.path["build"].join("scripts", "slave", "runtest.py"), | 709 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
709 args= | 710 args= |
710 ['--target', 'Release', "--build-properties=%s" % | 711 ['--target', 'Release', "--build-properties=%s" % |
711 api.json.dumps(build_properties, | 712 api.json.dumps(build_properties, |
712 separators=(',', ':')), | 713 separators=(',', ':')), |
713 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 714 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
714 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 715 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
715 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 716 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
716 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 717 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
717 '"process_dumps":true}', | 718 '"process_dumps":true}', |
718 '--annotate=gtest', '--test-type', 'sbox_validation_tests', | 719 '--annotate=gtest', '--test-type', 'sbox_validation_tests', |
719 'sbox_validation_tests.exe', '--gtest_print_time']) | 720 'sbox_validation_tests.exe', '--gtest_print_time']) |
720 # runtest step | 721 # runtest step |
721 api.python( | 722 api.python( |
722 "ipc_tests", | 723 "ipc_tests", |
723 api.path["build"].join("scripts", "slave", "runtest.py"), | 724 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
724 args= | 725 args= |
725 ['--target', 'Release', "--build-properties=%s" % | 726 ['--target', 'Release', "--build-properties=%s" % |
726 api.json.dumps(build_properties, | 727 api.json.dumps(build_properties, |
727 separators=(',', ':')), | 728 separators=(',', ':')), |
728 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 729 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
729 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 730 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
730 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 731 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
731 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 732 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
732 '"process_dumps":true}', | 733 '"process_dumps":true}', |
733 '--annotate=gtest', '--test-type', 'ipc_tests', 'ipc_tests.exe', | 734 '--annotate=gtest', '--test-type', 'ipc_tests', 'ipc_tests.exe', |
734 '--gtest_print_time']) | 735 '--gtest_print_time']) |
735 # runtest step | 736 # runtest step |
736 api.python( | 737 api.python( |
737 "sync_unit_tests", | 738 "sync_unit_tests", |
738 api.path["build"].join("scripts", "slave", "runtest.py"), | 739 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
739 args= | 740 args= |
740 ['--target', 'Release', "--build-properties=%s" % | 741 ['--target', 'Release', "--build-properties=%s" % |
741 api.json.dumps(build_properties, | 742 api.json.dumps(build_properties, |
742 separators=(',', ':')), | 743 separators=(',', ':')), |
743 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 744 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
744 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 745 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
745 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 746 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
746 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 747 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
747 '"process_dumps":true}', | 748 '"process_dumps":true}', |
748 '--annotate=gtest', '--test-type', 'sync_unit_tests', | 749 '--annotate=gtest', '--test-type', 'sync_unit_tests', |
749 'sync_unit_tests.exe', '--gtest_print_time']) | 750 'sync_unit_tests.exe', '--gtest_print_time']) |
750 # runtest step | 751 # runtest step |
751 api.python( | 752 api.python( |
752 "unit_tests", | 753 "unit_tests", |
753 api.path["build"].join("scripts", "slave", "runtest.py"), | 754 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
754 args= | 755 args= |
755 ['--target', 'Release', "--build-properties=%s" % | 756 ['--target', 'Release', "--build-properties=%s" % |
756 api.json.dumps(build_properties, | 757 api.json.dumps(build_properties, |
757 separators=(',', ':')), | 758 separators=(',', ':')), |
758 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 759 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
759 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 760 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
760 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 761 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
761 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 762 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
762 '"process_dumps":true}', | 763 '"process_dumps":true}', |
763 '--annotate=gtest', '--test-type', 'unit_tests', 'unit_tests.exe', | 764 '--annotate=gtest', '--test-type', 'unit_tests', 'unit_tests.exe', |
764 '--gtest_print_time']) | 765 '--gtest_print_time']) |
765 # runtest step | 766 # runtest step |
766 api.python( | 767 api.python( |
767 "skia_unittests", | 768 "skia_unittests", |
768 api.path["build"].join("scripts", "slave", "runtest.py"), | 769 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
769 args= | 770 args= |
770 ['--target', 'Release', "--build-properties=%s" % | 771 ['--target', 'Release', "--build-properties=%s" % |
771 api.json.dumps(build_properties, | 772 api.json.dumps(build_properties, |
772 separators=(',', ':')), | 773 separators=(',', ':')), |
773 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 774 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
774 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 775 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
775 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 776 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
776 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 777 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
777 '"process_dumps":true}', | 778 '"process_dumps":true}', |
778 '--annotate=gtest', '--test-type', 'skia_unittests', | 779 '--annotate=gtest', '--test-type', 'skia_unittests', |
779 'skia_unittests.exe', '--gtest_print_time']) | 780 'skia_unittests.exe', '--gtest_print_time']) |
780 # runtest step | 781 # runtest step |
781 api.python( | 782 api.python( |
782 "sql_unittests", | 783 "sql_unittests", |
783 api.path["build"].join("scripts", "slave", "runtest.py"), | 784 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
784 args= | 785 args= |
785 ['--target', 'Release', "--build-properties=%s" % | 786 ['--target', 'Release', "--build-properties=%s" % |
786 api.json.dumps(build_properties, | 787 api.json.dumps(build_properties, |
787 separators=(',', ':')), | 788 separators=(',', ':')), |
788 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 789 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
789 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 790 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
790 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 791 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
791 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 792 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
792 '"process_dumps":true}', | 793 '"process_dumps":true}', |
793 '--annotate=gtest', '--test-type', 'sql_unittests', | 794 '--annotate=gtest', '--test-type', 'sql_unittests', |
794 'sql_unittests.exe', '--gtest_print_time']) | 795 'sql_unittests.exe', '--gtest_print_time']) |
795 # runtest step | 796 # runtest step |
796 api.python( | 797 api.python( |
797 "ui_base_unittests", | 798 "ui_base_unittests", |
798 api.path["build"].join("scripts", "slave", "runtest.py"), | 799 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
799 args= | 800 args= |
800 ['--target', 'Release', "--build-properties=%s" % | 801 ['--target', 'Release', "--build-properties=%s" % |
801 api.json.dumps(build_properties, | 802 api.json.dumps(build_properties, |
802 separators=(',', ':')), | 803 separators=(',', ':')), |
803 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 804 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
804 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 805 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
805 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 806 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
806 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 807 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
807 '"process_dumps":true}', | 808 '"process_dumps":true}', |
808 '--annotate=gtest', '--test-type', 'ui_base_unittests', | 809 '--annotate=gtest', '--test-type', 'ui_base_unittests', |
809 'ui_base_unittests.exe', '--gtest_print_time']) | 810 'ui_base_unittests.exe', '--gtest_print_time']) |
810 # runtest step | 811 # runtest step |
811 api.python( | 812 api.python( |
812 "content_unittests", | 813 "content_unittests", |
813 api.path["build"].join("scripts", "slave", "runtest.py"), | 814 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
814 args= | 815 args= |
815 ['--target', 'Release', "--build-properties=%s" % | 816 ['--target', 'Release', "--build-properties=%s" % |
816 api.json.dumps(build_properties, | 817 api.json.dumps(build_properties, |
817 separators=(',', ':')), | 818 separators=(',', ':')), |
818 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 819 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
819 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 820 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
820 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 821 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
821 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 822 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
822 '"process_dumps":true}', | 823 '"process_dumps":true}', |
823 '--annotate=gtest', '--test-type', 'content_unittests', | 824 '--annotate=gtest', '--test-type', 'content_unittests', |
824 'content_unittests.exe', '--gtest_print_time']) | 825 'content_unittests.exe', '--gtest_print_time']) |
825 # runtest step | 826 # runtest step |
826 api.python( | 827 api.python( |
827 "views_unittests", | 828 "views_unittests", |
828 api.path["build"].join("scripts", "slave", "runtest.py"), | 829 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
829 args= | 830 args= |
830 ['--target', 'Release', "--build-properties=%s" % | 831 ['--target', 'Release', "--build-properties=%s" % |
831 api.json.dumps(build_properties, | 832 api.json.dumps(build_properties, |
832 separators=(',', ':')), | 833 separators=(',', ':')), |
833 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 834 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
834 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 835 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
835 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 836 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
836 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 837 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
837 '"process_dumps":true}', | 838 '"process_dumps":true}', |
838 '--annotate=gtest', '--test-type', 'views_unittests', | 839 '--annotate=gtest', '--test-type', 'views_unittests', |
839 'views_unittests.exe', '--gtest_print_time']) | 840 'views_unittests.exe', '--gtest_print_time']) |
840 # runtest step | 841 # runtest step |
841 api.python( | 842 api.python( |
842 "installer_util_unittests", | 843 "installer_util_unittests", |
843 api.path["build"].join("scripts", "slave", "runtest.py"), | 844 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), |
844 args= | 845 args= |
845 ['--target', 'Release', "--build-properties=%s" % | 846 ['--target', 'Release', "--build-properties=%s" % |
846 api.json.dumps(build_properties, | 847 api.json.dumps(build_properties, |
847 separators=(',', ':')), | 848 separators=(',', ':')), |
848 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ | 849 '--factory-properties={"blink_config":"chromium","gclient_env":'+\ |
849 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 850 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
850 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ | 851 '"GYP_CHROMIUM_NO_ACTION":"1","GYP_DEFINES":'+\ |
851 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ | 852 '" component=static_library","LANDMINES_VERBOSE":"1"},'+\ |
852 '"process_dumps":true}', | 853 '"process_dumps":true}', |
853 '--annotate=gtest', '--test-type', 'installer_util_unittests', | 854 '--annotate=gtest', '--test-type', 'installer_util_unittests', |
854 'installer_util_unittests.exe', '--gtest_print_time']) | 855 'installer_util_unittests.exe', '--gtest_print_time']) |
855 # process dumps step | 856 # process dumps step |
856 api.python("process dumps", | 857 api.python("process dumps", |
857 api.path["build"].join("scripts", "slave", "process_dumps.py"), | 858 api.infra_paths['build'].join("scripts", "slave", "process_dump
s.py"), |
858 args=["--target", "Release"]) | 859 args=["--target", "Release"]) |
859 | 860 |
860 | 861 |
861 dispatch_directory = { | 862 dispatch_directory = { |
862 'Win8 Tests (2)': Win8_Tests__2__steps, | 863 'Win8 Tests (2)': Win8_Tests__2__steps, |
863 'Chromium Builder': Chromium_Builder_steps, | 864 'Chromium Builder': Chromium_Builder_steps, |
864 'Chromium Win MiniInstaller Tests': Chromium_Win_MiniInstaller_Tests_steps, | 865 'Chromium Win MiniInstaller Tests': Chromium_Win_MiniInstaller_Tests_steps, |
865 'Win8 Tests (1)': Win8_Tests__1__steps, | 866 'Win8 Tests (1)': Win8_Tests__1__steps, |
866 } | 867 } |
867 | 868 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
920 api.properties(got_revision='123456789abcdef') + | 921 api.properties(got_revision='123456789abcdef') + |
921 api.properties(buildnumber='42') + | 922 api.properties(buildnumber='42') + |
922 api.properties(parent_build_archive_url='abc') + | 923 api.properties(parent_build_archive_url='abc') + |
923 api.properties(slavename='TestSlave') | 924 api.properties(slavename='TestSlave') |
924 ) | 925 ) |
925 yield (api.test('builder_not_in_dispatch_directory') + | 926 yield (api.test('builder_not_in_dispatch_directory') + |
926 api.properties(mastername='chromium.fyi') + | 927 api.properties(mastername='chromium.fyi') + |
927 api.properties(buildername='nonexistent_builder') + | 928 api.properties(buildername='nonexistent_builder') + |
928 api.properties(slavename='TestSlave') | 929 api.properties(slavename='TestSlave') |
929 ) | 930 ) |
OLD | NEW |