OLD | NEW |
| (Empty) |
1 [ | |
2 { | |
3 "cmd": [ | |
4 "python", | |
5 "-u", | |
6 "[BUILD]/scripts/slave/bot_update.py", | |
7 "--master", | |
8 "tryserver.webrtc", | |
9 "--builder", | |
10 "android", | |
11 "--slave", | |
12 "slavename", | |
13 "--spec", | |
14 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'na
me': 'src', 'url': 'https://chromium.googlesource.com/external/webrtc'}, {'deps_
file': 'DEPS', 'managed': True, 'name': 'webrtc-limited', 'url': 'https://chrome
-internal.googlesource.com/chrome/deps/webrtc-limited'}]\ntarget_os = ['android'
]", | |
15 "--root", | |
16 "src", | |
17 "--revision_mapping_file", | |
18 "{\"src\": \"got_revision\"}", | |
19 "--issue", | |
20 "666666", | |
21 "--patchset", | |
22 "1", | |
23 "--rietveld_server", | |
24 "https://fake.rietveld.url", | |
25 "--output_json", | |
26 "/path/to/tmp/json", | |
27 "--revision", | |
28 "src@12345" | |
29 ], | |
30 "cwd": "[SLAVE_BUILD]", | |
31 "name": "bot_update", | |
32 "~followup_annotations": [ | |
33 "@@@STEP_TEXT@Some step text@@@", | |
34 "@@@STEP_LOG_LINE@json.output@{@@@", | |
35 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | |
36 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", | |
37 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", | |
38 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", | |
39 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f27fede2220bcd326aee
3e86ddfd4ebd0fe58cb9\", @@@", | |
40 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master
@{#170242}\"@@@", | |
41 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
42 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@", | |
43 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", | |
44 "@@@STEP_LOG_LINE@json.output@}@@@", | |
45 "@@@STEP_LOG_END@json.output@@@", | |
46 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5
8cb9\"@@@", | |
47 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" | |
48 ] | |
49 }, | |
50 { | |
51 "cmd": [ | |
52 "python", | |
53 "-u", | |
54 "RECIPE_MODULE[webrtc]/resources/cleanup_files.py", | |
55 "[SLAVE_BUILD]/src/out" | |
56 ], | |
57 "cwd": "[SLAVE_BUILD]", | |
58 "name": "clean test output files" | |
59 }, | |
60 { | |
61 "cmd": [ | |
62 "python", | |
63 "-u", | |
64 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree
(sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo
r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw
ith('.pyc'):\n os.remove(os.path.join(base, f))\n", | |
65 "[SLAVE_BUILD]/src/out/Debug/debug_info_dumps", | |
66 "[SLAVE_BUILD]/src/out/Debug/test_logs", | |
67 "[SLAVE_BUILD]/src/out/build_product.zip", | |
68 "[SLAVE_BUILD]/src" | |
69 ], | |
70 "cwd": "[SLAVE_BUILD]", | |
71 "name": "clean local files", | |
72 "~followup_annotations": [ | |
73 "@@@STEP_LOG_LINE@python.inline@@@@", | |
74 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | |
75 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | |
76 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | |
77 "@@@STEP_LOG_LINE@python.inline@try:@@@", | |
78 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | |
79 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | |
80 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | |
81 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | |
82 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | |
83 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | |
84 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | |
85 "@@@STEP_LOG_END@python.inline@@@" | |
86 ] | |
87 }, | |
88 { | |
89 "cmd": [ | |
90 "python", | |
91 "-u", | |
92 "[DEPOT_TOOLS]/gclient.py", | |
93 "runhooks" | |
94 ], | |
95 "cwd": "[SLAVE_BUILD]", | |
96 "env": { | |
97 "GYP_CROSSCOMPILE": "1", | |
98 "GYP_DEFINES": "OS=android component=static_library dcheck_always_on=1 fas
tbuild=1 gomadir='[BUILD]/goma' target_arch=arm use_goma=1", | |
99 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
100 }, | |
101 "name": "gclient runhooks" | |
102 }, | |
103 { | |
104 "cmd": [ | |
105 "python", | |
106 "-u", | |
107 "[BUILD]/scripts/slave/compile.py", | |
108 "--target", | |
109 "Debug", | |
110 "--src-dir", | |
111 "[SLAVE_BUILD]/src", | |
112 "--build-tool", | |
113 "ninja", | |
114 "--compiler", | |
115 "goma", | |
116 "--goma-dir", | |
117 "[BUILD]/goma", | |
118 "--goma-fail-fast", | |
119 "--goma-disable-local-fallback", | |
120 "--" | |
121 ], | |
122 "cwd": "[SLAVE_BUILD]", | |
123 "env": { | |
124 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
125 }, | |
126 "name": "compile" | |
127 }, | |
128 { | |
129 "cmd": [ | |
130 "[BUILD]/scripts/slave/daemonizer.py", | |
131 "--", | |
132 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", | |
133 "[SLAVE_BUILD]/src/out/logcat" | |
134 ], | |
135 "cwd": "[SLAVE_BUILD]", | |
136 "env": { | |
137 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
138 }, | |
139 "name": "spawn_logcat_monitor" | |
140 }, | |
141 { | |
142 "cmd": [ | |
143 "python", | |
144 "-u", | |
145 "[BUILD]/scripts/slave/android/authorize_adb_devices.py", | |
146 "--verbose", | |
147 "--adb-path", | |
148 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | |
149 ], | |
150 "cwd": "[SLAVE_BUILD]", | |
151 "env": { | |
152 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
153 }, | |
154 "name": "authorize_adb_devices" | |
155 }, | |
156 { | |
157 "cmd": [ | |
158 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | |
159 "--json-output", | |
160 "/path/to/tmp/json", | |
161 "--blacklist-file", | |
162 "[SLAVE_BUILD]/src/out/bad_devices.json" | |
163 ], | |
164 "cwd": "[SLAVE_BUILD]", | |
165 "env": { | |
166 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
167 }, | |
168 "name": "device_status_check", | |
169 "~followup_annotations": [ | |
170 "@@@STEP_TEXT@Online devices: 1@@@", | |
171 "@@@STEP_LOG_LINE@json.output@[@@@", | |
172 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
173 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | |
174 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | |
175 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | |
176 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", | |
177 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", | |
178 "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@", | |
179 "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@", | |
180 "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@", | |
181 "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@", | |
182 "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@", | |
183 "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"249\", @@@", | |
184 "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4286\"@@@", | |
185 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
186 "@@@STEP_LOG_LINE@json.output@ \"build\": \"LRX21O\", @@@", | |
187 "@@@STEP_LOG_LINE@json.output@ \"build_detail\": \"google/razor/flo:5.0
/LRX21O/1570415:userdebug/dev-keys\", @@@", | |
188 "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"Unknown\", @@@", | |
189 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"07a00ca4\", @@@", | |
190 "@@@STEP_LOG_LINE@json.output@ \"type\": \"flo\", @@@", | |
191 "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@", | |
192 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
193 "@@@STEP_LOG_LINE@json.output@]@@@", | |
194 "@@@STEP_LOG_END@json.output@@@", | |
195 "@@@STEP_LOG_LINE@flo LRX21O 07a00ca4@{@@@", | |
196 "@@@STEP_LOG_LINE@flo LRX21O 07a00ca4@ \"battery\": {@@@", | |
197 "@@@STEP_LOG_LINE@flo LRX21O 07a00ca4@ \"AC powered\": \"false\", @@@", | |
198 "@@@STEP_LOG_LINE@flo LRX21O 07a00ca4@ \"USB powered\": \"true\", @@@", | |
199 "@@@STEP_LOG_LINE@flo LRX21O 07a00ca4@ \"Wireless powered\": \"false\",
@@@", | |
200 "@@@STEP_LOG_LINE@flo LRX21O 07a00ca4@ \"health\": \"2\", @@@", | |
201 "@@@STEP_LOG_LINE@flo LRX21O 07a00ca4@ \"level\": \"100\", @@@", | |
202 "@@@STEP_LOG_LINE@flo LRX21O 07a00ca4@ \"present\": \"true\", @@@", | |
203 "@@@STEP_LOG_LINE@flo LRX21O 07a00ca4@ \"scale\": \"100\", @@@", | |
204 "@@@STEP_LOG_LINE@flo LRX21O 07a00ca4@ \"status\": \"5\", @@@", | |
205 "@@@STEP_LOG_LINE@flo LRX21O 07a00ca4@ \"technology\": \"Li-ion\", @@@"
, | |
206 "@@@STEP_LOG_LINE@flo LRX21O 07a00ca4@ \"temperature\": \"249\", @@@", | |
207 "@@@STEP_LOG_LINE@flo LRX21O 07a00ca4@ \"voltage\": \"4286\"@@@", | |
208 "@@@STEP_LOG_LINE@flo LRX21O 07a00ca4@ }, @@@", | |
209 "@@@STEP_LOG_LINE@flo LRX21O 07a00ca4@ \"build\": \"LRX21O\", @@@", | |
210 "@@@STEP_LOG_LINE@flo LRX21O 07a00ca4@ \"build_detail\": \"google/razor/f
lo:5.0/LRX21O/1570415:userdebug/dev-keys\", @@@", | |
211 "@@@STEP_LOG_LINE@flo LRX21O 07a00ca4@ \"imei_slice\": \"Unknown\", @@@", | |
212 "@@@STEP_LOG_LINE@flo LRX21O 07a00ca4@ \"serial\": \"07a00ca4\", @@@", | |
213 "@@@STEP_LOG_LINE@flo LRX21O 07a00ca4@ \"type\": \"flo\", @@@", | |
214 "@@@STEP_LOG_LINE@flo LRX21O 07a00ca4@ \"wifi_ip\": \"\"@@@", | |
215 "@@@STEP_LOG_LINE@flo LRX21O 07a00ca4@}@@@", | |
216 "@@@STEP_LOG_END@flo LRX21O 07a00ca4@@@" | |
217 ] | |
218 }, | |
219 { | |
220 "cmd": [ | |
221 "python", | |
222 "-u", | |
223 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | |
224 "-t", | |
225 "Debug", | |
226 "--blacklist-file", | |
227 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
228 "--output-device-blacklist", | |
229 "/path/to/tmp/json" | |
230 ], | |
231 "cwd": "[SLAVE_BUILD]", | |
232 "env": { | |
233 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
234 }, | |
235 "name": "provision_devices" | |
236 }, | |
237 { | |
238 "cmd": [ | |
239 "python", | |
240 "-u", | |
241 "[BUILD]/scripts/slave/daemonizer.py", | |
242 "--action", | |
243 "restart", | |
244 "--pid-file-path", | |
245 "/tmp/device_monitor.pid", | |
246 "--", | |
247 "RECIPE_MODULE[chromium_android]/resources/spawn_device_temp_monitor.py", | |
248 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | |
249 "[\"07a00ca4\"]", | |
250 "tryserver.webrtc", | |
251 "android" | |
252 ], | |
253 "cwd": "[SLAVE_BUILD]", | |
254 "name": "spawn_device_temp_monitor" | |
255 }, | |
256 { | |
257 "cmd": [ | |
258 "python", | |
259 "-u", | |
260 "[SLAVE_BUILD]/src/webrtc/build/android/test_runner.py", | |
261 "gtest", | |
262 "-s", | |
263 "audio_decoder_unittests", | |
264 "--blacklist-file", | |
265 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
266 "--verbose", | |
267 "--isolate_file_path=webrtc/modules/audio_coding/neteq/audio_decoder_unitt
ests.isolate" | |
268 ], | |
269 "cwd": "[SLAVE_BUILD]", | |
270 "env": { | |
271 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
272 }, | |
273 "name": "audio_decoder_unittests" | |
274 }, | |
275 { | |
276 "cmd": [ | |
277 "python", | |
278 "-u", | |
279 "[SLAVE_BUILD]/src/webrtc/build/android/test_runner.py", | |
280 "gtest", | |
281 "-s", | |
282 "common_audio_unittests", | |
283 "--blacklist-file", | |
284 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
285 "--verbose", | |
286 "--isolate_file_path=webrtc/common_audio/common_audio_unittests.isolate" | |
287 ], | |
288 "cwd": "[SLAVE_BUILD]", | |
289 "env": { | |
290 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
291 }, | |
292 "name": "common_audio_unittests" | |
293 }, | |
294 { | |
295 "cmd": [ | |
296 "python", | |
297 "-u", | |
298 "[SLAVE_BUILD]/src/webrtc/build/android/test_runner.py", | |
299 "gtest", | |
300 "-s", | |
301 "common_video_unittests", | |
302 "--blacklist-file", | |
303 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
304 "--verbose", | |
305 "--isolate_file_path=webrtc/common_video/common_video_unittests.isolate" | |
306 ], | |
307 "cwd": "[SLAVE_BUILD]", | |
308 "env": { | |
309 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
310 }, | |
311 "name": "common_video_unittests" | |
312 }, | |
313 { | |
314 "cmd": [ | |
315 "python", | |
316 "-u", | |
317 "[SLAVE_BUILD]/src/webrtc/build/android/test_runner.py", | |
318 "gtest", | |
319 "-s", | |
320 "modules_tests", | |
321 "--blacklist-file", | |
322 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
323 "--verbose", | |
324 "--isolate_file_path=webrtc/modules/modules_tests.isolate" | |
325 ], | |
326 "cwd": "[SLAVE_BUILD]", | |
327 "env": { | |
328 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
329 }, | |
330 "name": "modules_tests" | |
331 }, | |
332 { | |
333 "cmd": [ | |
334 "python", | |
335 "-u", | |
336 "[SLAVE_BUILD]/src/webrtc/build/android/test_runner.py", | |
337 "gtest", | |
338 "-s", | |
339 "modules_unittests", | |
340 "--blacklist-file", | |
341 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
342 "--verbose", | |
343 "--isolate_file_path=webrtc/modules/modules_unittests.isolate" | |
344 ], | |
345 "cwd": "[SLAVE_BUILD]", | |
346 "env": { | |
347 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
348 }, | |
349 "name": "modules_unittests" | |
350 }, | |
351 { | |
352 "cmd": [ | |
353 "python", | |
354 "-u", | |
355 "[SLAVE_BUILD]/src/webrtc/build/android/test_runner.py", | |
356 "gtest", | |
357 "-s", | |
358 "system_wrappers_unittests", | |
359 "--blacklist-file", | |
360 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
361 "--verbose", | |
362 "--isolate_file_path=webrtc/system_wrappers/system_wrappers_unittests.isol
ate" | |
363 ], | |
364 "cwd": "[SLAVE_BUILD]", | |
365 "env": { | |
366 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
367 }, | |
368 "name": "system_wrappers_unittests" | |
369 }, | |
370 { | |
371 "cmd": [ | |
372 "python", | |
373 "-u", | |
374 "[SLAVE_BUILD]/src/webrtc/build/android/test_runner.py", | |
375 "gtest", | |
376 "-s", | |
377 "test_support_unittests", | |
378 "--blacklist-file", | |
379 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
380 "--verbose", | |
381 "--isolate_file_path=webrtc/test/test_support_unittests.isolate" | |
382 ], | |
383 "cwd": "[SLAVE_BUILD]", | |
384 "env": { | |
385 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
386 }, | |
387 "name": "test_support_unittests" | |
388 }, | |
389 { | |
390 "cmd": [ | |
391 "python", | |
392 "-u", | |
393 "[SLAVE_BUILD]/src/webrtc/build/android/test_runner.py", | |
394 "gtest", | |
395 "-s", | |
396 "tools_unittests", | |
397 "--blacklist-file", | |
398 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
399 "--verbose", | |
400 "--isolate_file_path=webrtc/tools/tools_unittests.isolate" | |
401 ], | |
402 "cwd": "[SLAVE_BUILD]", | |
403 "env": { | |
404 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
405 }, | |
406 "name": "tools_unittests" | |
407 }, | |
408 { | |
409 "cmd": [ | |
410 "python", | |
411 "-u", | |
412 "[SLAVE_BUILD]/src/webrtc/build/android/test_runner.py", | |
413 "gtest", | |
414 "-s", | |
415 "video_engine_core_unittests", | |
416 "--blacklist-file", | |
417 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
418 "--verbose", | |
419 "--isolate_file_path=webrtc/video_engine/video_engine_core_unittests.isola
te" | |
420 ], | |
421 "cwd": "[SLAVE_BUILD]", | |
422 "env": { | |
423 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
424 }, | |
425 "name": "video_engine_core_unittests" | |
426 }, | |
427 { | |
428 "cmd": [ | |
429 "python", | |
430 "-u", | |
431 "[SLAVE_BUILD]/src/webrtc/build/android/test_runner.py", | |
432 "gtest", | |
433 "-s", | |
434 "video_engine_tests", | |
435 "--blacklist-file", | |
436 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
437 "--verbose", | |
438 "--isolate_file_path=webrtc/video_engine_tests.isolate" | |
439 ], | |
440 "cwd": "[SLAVE_BUILD]", | |
441 "env": { | |
442 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
443 }, | |
444 "name": "video_engine_tests" | |
445 }, | |
446 { | |
447 "cmd": [ | |
448 "python", | |
449 "-u", | |
450 "[SLAVE_BUILD]/src/webrtc/build/android/test_runner.py", | |
451 "gtest", | |
452 "-s", | |
453 "voice_engine_unittests", | |
454 "--blacklist-file", | |
455 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
456 "--verbose", | |
457 "--isolate_file_path=webrtc/voice_engine/voice_engine_unittests.isolate" | |
458 ], | |
459 "cwd": "[SLAVE_BUILD]", | |
460 "env": { | |
461 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
462 }, | |
463 "name": "voice_engine_unittests" | |
464 }, | |
465 { | |
466 "cmd": [ | |
467 "python", | |
468 "-u", | |
469 "[SLAVE_BUILD]/src/webrtc/build/android/test_runner.py", | |
470 "gtest", | |
471 "-s", | |
472 "webrtc_perf_tests", | |
473 "--blacklist-file", | |
474 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
475 "--verbose" | |
476 ], | |
477 "cwd": "[SLAVE_BUILD]", | |
478 "env": { | |
479 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
480 }, | |
481 "name": "webrtc_perf_tests" | |
482 }, | |
483 { | |
484 "cmd": [ | |
485 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | |
486 "[SLAVE_BUILD]/src/out/Debug/apks/AppRTCDemo.apk" | |
487 ], | |
488 "cwd": "[SLAVE_BUILD]", | |
489 "env": { | |
490 "CHECKOUT_SOURCE_ROOT": "[SLAVE_BUILD]/src" | |
491 }, | |
492 "name": "install AppRTCDemo" | |
493 }, | |
494 { | |
495 "cmd": [ | |
496 "python", | |
497 "-u", | |
498 "[SLAVE_BUILD]/src/webrtc/build/android/test_runner.py", | |
499 "instrumentation", | |
500 "--test-apk", | |
501 "AppRTCDemoTest", | |
502 "--blacklist-file", | |
503 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
504 "--verbose" | |
505 ], | |
506 "cwd": "[SLAVE_BUILD]", | |
507 "name": "Instrumentation test AppRTCDemoTest" | |
508 }, | |
509 { | |
510 "cmd": [ | |
511 "python", | |
512 "-u", | |
513 "[SLAVE_BUILD]/src/webrtc/build/android/test_runner.py", | |
514 "instrumentation", | |
515 "--test-apk", | |
516 "libjingle_peerconnection_android_unittest", | |
517 "--blacklist-file", | |
518 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
519 "--verbose" | |
520 ], | |
521 "cwd": "[SLAVE_BUILD]", | |
522 "name": "Instrumentation test libjingle_peerconnection_android_unittest" | |
523 }, | |
524 { | |
525 "cmd": [ | |
526 "python", | |
527 "-u", | |
528 "[BUILD]/scripts/slave/tee.py", | |
529 "[SLAVE_BUILD]/src/out/Debug/full_log", | |
530 "--", | |
531 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", | |
532 "[SLAVE_BUILD]/src/out/logcat" | |
533 ], | |
534 "cwd": "[SLAVE_BUILD]", | |
535 "name": "logcat_dump" | |
536 }, | |
537 { | |
538 "cmd": [ | |
539 "python", | |
540 "-u", | |
541 "\nimport glob, os, sys\nfor report in glob.glob(sys.argv[1]):\n with ope
n(report, 'r') as f:\n for l in f.readlines():\n print l\n os.remove(re
port)\n", | |
542 "[SLAVE_BUILD]/src/out/Debug/test_logs/*.log" | |
543 ], | |
544 "cwd": "[SLAVE_BUILD]", | |
545 "name": "test_report", | |
546 "~followup_annotations": [ | |
547 "@@@STEP_LOG_LINE@python.inline@@@@", | |
548 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | |
549 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | |
550 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | |
551 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | |
552 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | |
553 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | |
554 "@@@STEP_LOG_END@python.inline@@@" | |
555 ] | |
556 } | |
557 ] | |
OLD | NEW |