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

Side by Side Diff: scripts/slave/recipes/android/tester.expected/android_dbg_tests_recipe.json

Issue 583843002: Use analyze.py in Android trybots. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build@master
Patch Set: sky comments Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "[BUILD]/scripts/slave/bot_update.py", 6 "[BUILD]/scripts/slave/bot_update.py",
7 "--master", 7 "--master",
8 "tryserver.chromium.linux", 8 "tryserver.chromium.linux",
9 "--builder", 9 "--builder",
10 "android_dbg_tests_recipe", 10 "android_dbg_tests_recipe",
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 "[DEPOT_TOOLS]/gclient.py", 92 "[DEPOT_TOOLS]/gclient.py",
93 "runhooks" 93 "runhooks"
94 ], 94 ],
95 "env": { 95 "env": {
96 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[ BUILD]/goma' target_arch=arm use_goma=1", 96 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[ BUILD]/goma' target_arch=arm use_goma=1",
97 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 97 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
98 }, 98 },
99 "name": "gclient runhooks" 99 "name": "gclient runhooks"
100 }, 100 },
101 { 101 {
102 "cmd": [
103 "python",
104 "-u",
105 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
106 "[SLAVE_BUILD]/src/testing/buildbot/trybot_analyze_config.json",
107 "/path/to/tmp/json"
108 ],
109 "name": "read filter exclusion spec",
110 "~followup_annotations": [
111 "@@@STEP_TEXT@path: 'testing/buildbot/trybot_analyze_config.json'@@@",
112 "@@@STEP_LOG_LINE@json.output@{@@@",
113 "@@@STEP_LOG_LINE@json.output@ \"base\": {@@@",
114 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
115 "@@@STEP_LOG_LINE@json.output@ }, @@@",
116 "@@@STEP_LOG_LINE@json.output@ \"chromium\": {@@@",
117 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
118 "@@@STEP_LOG_LINE@json.output@ }@@@",
119 "@@@STEP_LOG_LINE@json.output@}@@@",
120 "@@@STEP_LOG_END@json.output@@@"
121 ]
122 },
123 {
124 "cmd": [
125 "git",
126 "diff",
127 "--cached",
128 "--name-only"
129 ],
130 "cwd": "[SLAVE_BUILD]/src",
131 "name": "git diff to analyze patch",
132 "stdout": "/path/to/tmp/"
133 },
134 {
135 "cmd": [
136 "python",
137 "-u",
138 "[SLAVE_BUILD]/src/build/gyp_chromium",
139 "--analyzer",
140 "{\"files\": [\"foo.cc\"], \"targets\": [\"mojo_test_apk\", \"android_webv iew_test_apk\", \"chrome_shell_test_apk\", \"content_shell_test_apk\", \"base_un ittests\", \"breakpad_unittests\", \"cc_unittests\", \"components_unittests\", \ "content_browsertests\", \"content_unittests\", \"events_unittests\", \"gl_tests \", \"gpu_unittests\", \"ipc_tests\", \"media_unittests\", \"net_unittests\", \" sandbox_linux_unittests\", \"sql_unittests\", \"sync_unit_tests\", \"ui_unittest s\", \"unit_tests\", \"webkit_unit_tests\"]}",
141 "/path/to/tmp/json"
142 ],
143 "env": {
144 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[ BUILD]/goma' target_arch=arm use_goma=1"
145 },
146 "name": "analyze",
147 "~followup_annotations": [
148 "@@@STEP_LOG_LINE@json.output@{@@@",
149 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
150 "@@@STEP_LOG_LINE@json.output@ \"breakpad_unittests\", @@@",
151 "@@@STEP_LOG_LINE@json.output@ \"chrome_shell_test_apk\"@@@",
152 "@@@STEP_LOG_LINE@json.output@ ], @@@",
153 "@@@STEP_LOG_LINE@json.output@ \"status\": \"Found dependency\", @@@",
154 "@@@STEP_LOG_LINE@json.output@ \"targets\": [@@@",
155 "@@@STEP_LOG_LINE@json.output@ \"breakpad_unittests\", @@@",
156 "@@@STEP_LOG_LINE@json.output@ \"chrome_shell_test_apk\"@@@",
157 "@@@STEP_LOG_LINE@json.output@ ]@@@",
158 "@@@STEP_LOG_LINE@json.output@}@@@",
159 "@@@STEP_LOG_END@json.output@@@"
160 ]
161 },
162 {
102 "allow_subannotations": false, 163 "allow_subannotations": false,
103 "cmd": [ 164 "cmd": [
104 "[SLAVE_BUILD]/src/build/tree_truth.sh", 165 "[SLAVE_BUILD]/src/build/tree_truth.sh",
105 "[SLAVE_BUILD]/src", 166 "[SLAVE_BUILD]/src",
106 "src", 167 "src",
107 "src-internal" 168 "src-internal"
108 ], 169 ],
109 "name": "tree truth steps" 170 "name": "tree truth steps"
110 }, 171 },
111 { 172 {
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 "-t", 256 "-t",
196 "Debug" 257 "Debug"
197 ], 258 ],
198 "env": { 259 "env": {
199 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 260 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
200 }, 261 },
201 "name": "provision_devices" 262 "name": "provision_devices"
202 }, 263 },
203 { 264 {
204 "cmd": [ 265 "cmd": [
205 "python",
206 "-u",
207 "[SLAVE_BUILD]/src/build/android/test_runner.py",
208 "instrumentation",
209 "--test-apk",
210 "MojoTest",
211 "--verbose"
212 ],
213 "name": "Instrumentation test MojoTest"
214 },
215 {
216 "cmd": [
217 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
218 "--apk",
219 "AndroidWebView.apk",
220 "--apk_package",
221 "org.chromium.android_webview.shell"
222 ],
223 "env": {
224 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
225 },
226 "name": "install AndroidWebView.apk"
227 },
228 {
229 "cmd": [
230 "python",
231 "-u",
232 "[SLAVE_BUILD]/src/build/android/test_runner.py",
233 "instrumentation",
234 "--test-apk",
235 "AndroidWebViewTest",
236 "--test_data",
237 "webview:android_webview/test/data/device_files",
238 "--verbose"
239 ],
240 "name": "Instrumentation test AndroidWebViewTest"
241 },
242 {
243 "cmd": [
244 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", 266 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
245 "--apk", 267 "--apk",
246 "ChromeShell.apk", 268 "ChromeShell.apk",
247 "--apk_package", 269 "--apk_package",
248 "org.chromium.chrome.shell" 270 "org.chromium.chrome.shell"
249 ], 271 ],
250 "env": { 272 "env": {
251 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 273 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
252 }, 274 },
253 "name": "install ChromeShell.apk" 275 "name": "install ChromeShell.apk"
254 }, 276 },
255 { 277 {
256 "cmd": [ 278 "cmd": [
257 "python", 279 "python",
258 "-u", 280 "-u",
259 "[SLAVE_BUILD]/src/build/android/test_runner.py", 281 "[SLAVE_BUILD]/src/build/android/test_runner.py",
260 "instrumentation", 282 "instrumentation",
261 "--test-apk", 283 "--test-apk",
262 "ChromeShellTest", 284 "ChromeShellTest",
263 "--test_data", 285 "--test_data",
264 "chrome:chrome/test/data/android/device_files", 286 "chrome:chrome/test/data/android/device_files",
265 "--verbose" 287 "--verbose"
266 ], 288 ],
267 "name": "Instrumentation test ChromeShellTest" 289 "name": "Instrumentation test ChromeShellTest"
268 }, 290 },
269 { 291 {
270 "cmd": [ 292 "cmd": [
271 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
272 "--apk",
273 "ContentShell.apk",
274 "--apk_package",
275 "org.chromium.chontent_shell_apk"
276 ],
277 "env": {
278 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
279 },
280 "name": "install ContentShell.apk"
281 },
282 {
283 "cmd": [
284 "python", 293 "python",
285 "-u", 294 "-u",
286 "[SLAVE_BUILD]/src/build/android/test_runner.py", 295 "[SLAVE_BUILD]/src/build/android/test_runner.py",
287 "instrumentation",
288 "--test-apk",
289 "ContentShellTest",
290 "--test_data",
291 "content:content/test/data/android/device_files",
292 "--verbose"
293 ],
294 "name": "Instrumentation test ContentShellTest"
295 },
296 {
297 "cmd": [
298 "python",
299 "-u",
300 "[SLAVE_BUILD]/src/build/android/test_runner.py",
301 "gtest",
302 "-s",
303 "base_unittests",
304 "--verbose"
305 ],
306 "env": {
307 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
308 },
309 "name": "base_unittests"
310 },
311 {
312 "cmd": [
313 "python",
314 "-u",
315 "[SLAVE_BUILD]/src/build/android/test_runner.py",
316 "gtest", 296 "gtest",
317 "-s", 297 "-s",
318 "breakpad_unittests", 298 "breakpad_unittests",
319 "--verbose", 299 "--verbose",
320 "--isolate_file_path=[SLAVE_BUILD]/src/breakpad/breakpad_unittests.isolate " 300 "--isolate_file_path=[SLAVE_BUILD]/src/breakpad/breakpad_unittests.isolate "
321 ], 301 ],
322 "env": { 302 "env": {
323 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 303 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
324 }, 304 },
325 "name": "breakpad_unittests" 305 "name": "breakpad_unittests"
326 }, 306 },
327 { 307 {
328 "cmd": [ 308 "cmd": [
329 "python", 309 "python",
330 "-u", 310 "-u",
331 "[SLAVE_BUILD]/src/build/android/test_runner.py",
332 "gtest",
333 "-s",
334 "cc_unittests",
335 "--verbose"
336 ],
337 "env": {
338 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
339 },
340 "name": "cc_unittests"
341 },
342 {
343 "cmd": [
344 "python",
345 "-u",
346 "[SLAVE_BUILD]/src/build/android/test_runner.py",
347 "gtest",
348 "-s",
349 "components_unittests",
350 "--verbose"
351 ],
352 "env": {
353 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
354 },
355 "name": "components_unittests"
356 },
357 {
358 "cmd": [
359 "python",
360 "-u",
361 "[SLAVE_BUILD]/src/build/android/test_runner.py",
362 "gtest",
363 "-s",
364 "content_browsertests",
365 "--verbose"
366 ],
367 "env": {
368 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
369 },
370 "name": "content_browsertests"
371 },
372 {
373 "cmd": [
374 "python",
375 "-u",
376 "[SLAVE_BUILD]/src/build/android/test_runner.py",
377 "gtest",
378 "-s",
379 "content_unittests",
380 "--verbose"
381 ],
382 "env": {
383 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
384 },
385 "name": "content_unittests"
386 },
387 {
388 "cmd": [
389 "python",
390 "-u",
391 "[SLAVE_BUILD]/src/build/android/test_runner.py",
392 "gtest",
393 "-s",
394 "events_unittests",
395 "--verbose"
396 ],
397 "env": {
398 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
399 },
400 "name": "events_unittests"
401 },
402 {
403 "cmd": [
404 "python",
405 "-u",
406 "[SLAVE_BUILD]/src/build/android/test_runner.py",
407 "gtest",
408 "-s",
409 "gl_tests",
410 "--verbose"
411 ],
412 "env": {
413 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
414 },
415 "name": "gl_tests"
416 },
417 {
418 "cmd": [
419 "python",
420 "-u",
421 "[SLAVE_BUILD]/src/build/android/test_runner.py",
422 "gtest",
423 "-s",
424 "gpu_unittests",
425 "--verbose"
426 ],
427 "env": {
428 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
429 },
430 "name": "gpu_unittests"
431 },
432 {
433 "cmd": [
434 "python",
435 "-u",
436 "[SLAVE_BUILD]/src/build/android/test_runner.py",
437 "gtest",
438 "-s",
439 "ipc_tests",
440 "--verbose"
441 ],
442 "env": {
443 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
444 },
445 "name": "ipc_tests"
446 },
447 {
448 "cmd": [
449 "python",
450 "-u",
451 "[SLAVE_BUILD]/src/build/android/test_runner.py",
452 "gtest",
453 "-s",
454 "media_unittests",
455 "--verbose"
456 ],
457 "env": {
458 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
459 },
460 "name": "media_unittests"
461 },
462 {
463 "cmd": [
464 "python",
465 "-u",
466 "[SLAVE_BUILD]/src/build/android/test_runner.py",
467 "gtest",
468 "-s",
469 "net_unittests",
470 "--verbose"
471 ],
472 "env": {
473 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
474 },
475 "name": "net_unittests"
476 },
477 {
478 "cmd": [
479 "python",
480 "-u",
481 "[SLAVE_BUILD]/src/build/android/test_runner.py",
482 "gtest",
483 "-s",
484 "sandbox_linux_unittests",
485 "--verbose"
486 ],
487 "env": {
488 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
489 },
490 "name": "sandbox_linux_unittests"
491 },
492 {
493 "cmd": [
494 "python",
495 "-u",
496 "[SLAVE_BUILD]/src/build/android/test_runner.py",
497 "gtest",
498 "-s",
499 "sql_unittests",
500 "--verbose"
501 ],
502 "env": {
503 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
504 },
505 "name": "sql_unittests"
506 },
507 {
508 "cmd": [
509 "python",
510 "-u",
511 "[SLAVE_BUILD]/src/build/android/test_runner.py",
512 "gtest",
513 "-s",
514 "sync_unit_tests",
515 "--verbose"
516 ],
517 "env": {
518 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
519 },
520 "name": "sync_unit_tests"
521 },
522 {
523 "cmd": [
524 "python",
525 "-u",
526 "[SLAVE_BUILD]/src/build/android/test_runner.py",
527 "gtest",
528 "-s",
529 "ui_unittests",
530 "--verbose"
531 ],
532 "env": {
533 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
534 },
535 "name": "ui_unittests"
536 },
537 {
538 "cmd": [
539 "python",
540 "-u",
541 "[SLAVE_BUILD]/src/build/android/test_runner.py",
542 "gtest",
543 "-s",
544 "unit_tests",
545 "--verbose"
546 ],
547 "env": {
548 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
549 },
550 "name": "unit_tests"
551 },
552 {
553 "cmd": [
554 "python",
555 "-u",
556 "[SLAVE_BUILD]/src/build/android/test_runner.py",
557 "gtest",
558 "-s",
559 "webkit_unit_tests",
560 "--verbose"
561 ],
562 "env": {
563 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
564 },
565 "name": "webkit_unit_tests"
566 },
567 {
568 "cmd": [
569 "python",
570 "-u",
571 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 311 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
572 "--output-path", 312 "--output-path",
573 "[SLAVE_BUILD]/src/out/Debug/full_log", 313 "[SLAVE_BUILD]/src/out/Debug/full_log",
574 "[SLAVE_BUILD]/src/out/logcat" 314 "[SLAVE_BUILD]/src/out/logcat"
575 ], 315 ],
576 "name": "logcat_dump" 316 "name": "logcat_dump"
577 }, 317 },
578 { 318 {
579 "cmd": [ 319 "cmd": [
580 "python", 320 "python",
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", 369 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@",
630 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", 370 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@",
631 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", 371 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
632 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", 372 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
633 "@@@STEP_LOG_LINE@python.inline@ print l@@@", 373 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
634 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 374 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
635 "@@@STEP_LOG_END@python.inline@@@" 375 "@@@STEP_LOG_END@python.inline@@@"
636 ] 376 ]
637 } 377 }
638 ] 378 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698