OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", | 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", |
7 "[SLAVE_BUILD]" | 7 "[SLAVE_BUILD]" |
8 ], | 8 ], |
9 "cwd": "[SLAVE_BUILD]", | 9 "cwd": "[SLAVE_BUILD]", |
10 "name": "cleanup index.lock", | 10 "name": "cleanup index.lock", |
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 "180" | 458 "180" |
459 ], | 459 ], |
460 "cwd": "[SLAVE_BUILD]", | 460 "cwd": "[SLAVE_BUILD]", |
461 "env": { | 461 "env": { |
462 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 462 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
463 }, | 463 }, |
464 "name": "net_unittests" | 464 "name": "net_unittests" |
465 }, | 465 }, |
466 { | 466 { |
467 "cmd": [ | 467 "cmd": [ |
468 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | |
469 "[SLAVE_BUILD]/src/out/Debug/apks/CronetSample.apk", | |
470 "-v", | |
471 "--blacklist-file", | |
472 "[SLAVE_BUILD]/src/out/bad_devices.json" | |
473 ], | |
474 "cwd": "[SLAVE_BUILD]", | |
475 "env": { | |
476 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
477 }, | |
478 "name": "install CronetSample.apk" | |
479 }, | |
480 { | |
481 "cmd": [ | |
482 "python", | 468 "python", |
483 "-u", | 469 "-u", |
484 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 470 "out/Debug/bin/run_cronet_sample_test_apk", |
485 "instrumentation", | 471 "instrumentation", |
486 "--test-apk", | |
487 "[SLAVE_BUILD]/src/out/Debug/apks/CronetSampleTest.apk", | |
488 "--blacklist-file", | 472 "--blacklist-file", |
489 "[SLAVE_BUILD]/src/out/bad_devices.json", | 473 "[SLAVE_BUILD]/src/out/bad_devices.json", |
490 "--logcat-output-file", | 474 "--logcat-output-file", |
491 "/path/to/tmp/", | 475 "/path/to/tmp/", |
492 "--apk-under-test", | |
493 "[SLAVE_BUILD]/src/out/Debug/apks/CronetSample.apk", | |
494 "--additional-apk", | |
495 "[SLAVE_BUILD]/src/out/Debug/apks/ChromiumNetTestSupport.apk", | |
496 "--verbose", | 476 "--verbose", |
497 "--num-retries", | 477 "--num-retries", |
498 "0" | 478 "0" |
499 ], | 479 ], |
500 "cwd": "[SLAVE_BUILD]", | 480 "cwd": "[SLAVE_BUILD]", |
501 "name": "Instrumentation test CronetSampleTest" | 481 "name": "Instrumentation test cronet_sample_test_apk" |
502 }, | |
503 { | |
504 "cmd": [ | |
505 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | |
506 "[SLAVE_BUILD]/src/out/Debug/apks/CronetTest.apk", | |
507 "-v", | |
508 "--blacklist-file", | |
509 "[SLAVE_BUILD]/src/out/bad_devices.json" | |
510 ], | |
511 "cwd": "[SLAVE_BUILD]", | |
512 "env": { | |
513 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
514 }, | |
515 "name": "install CronetTest.apk" | |
516 }, | 482 }, |
517 { | 483 { |
518 "cmd": [ | 484 "cmd": [ |
519 "python", | 485 "python", |
520 "-u", | 486 "-u", |
521 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 487 "out/Debug/bin/run_cronet_test_instrumentation_apk", |
522 "instrumentation", | 488 "instrumentation", |
523 "--test-apk", | |
524 "[SLAVE_BUILD]/src/out/Debug/apks/CronetTestInstrumentation.apk", | |
525 "--blacklist-file", | 489 "--blacklist-file", |
526 "[SLAVE_BUILD]/src/out/bad_devices.json", | 490 "[SLAVE_BUILD]/src/out/bad_devices.json", |
527 "--logcat-output-file", | 491 "--logcat-output-file", |
528 "/path/to/tmp/", | 492 "/path/to/tmp/", |
529 "--apk-under-test", | |
530 "[SLAVE_BUILD]/src/out/Debug/apks/CronetTest.apk", | |
531 "--additional-apk", | |
532 "[SLAVE_BUILD]/src/out/Debug/apks/ChromiumNetTestSupport.apk", | |
533 "--isolate-file-path", | |
534 "components/cronet/android/cronet_test_instrumentation_apk.isolate", | |
535 "--verbose", | 493 "--verbose", |
536 "--num-retries", | 494 "--num-retries", |
537 "0" | 495 "0" |
538 ], | 496 ], |
539 "cwd": "[SLAVE_BUILD]", | 497 "cwd": "[SLAVE_BUILD]", |
540 "name": "Instrumentation test CronetTestInstrumentation" | 498 "name": "Instrumentation test cronet_test_instrumentation_apk" |
541 }, | 499 }, |
542 { | 500 { |
543 "cmd": [ | 501 "cmd": [ |
544 "python", | 502 "python", |
545 "-u", | 503 "-u", |
546 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 504 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
547 "--action", | 505 "--action", |
548 "stop", | 506 "stop", |
549 "--pid-file-path", | 507 "--pid-file-path", |
550 "/tmp/device_monitor.pid" | 508 "/tmp/device_monitor.pid" |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
636 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 594 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
637 "@@@STEP_LOG_END@python.inline@@@" | 595 "@@@STEP_LOG_END@python.inline@@@" |
638 ] | 596 ] |
639 }, | 597 }, |
640 { | 598 { |
641 "name": "$result", | 599 "name": "$result", |
642 "recipe_result": null, | 600 "recipe_result": null, |
643 "status_code": 0 | 601 "status_code": 0 |
644 } | 602 } |
645 ] | 603 ] |
OLD | NEW |