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