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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
483 "180" | 483 "180" |
484 ], | 484 ], |
485 "cwd": "[SLAVE_BUILD]", | 485 "cwd": "[SLAVE_BUILD]", |
486 "env": { | 486 "env": { |
487 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 487 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
488 }, | 488 }, |
489 "name": "net_unittests" | 489 "name": "net_unittests" |
490 }, | 490 }, |
491 { | 491 { |
492 "cmd": [ | 492 "cmd": [ |
493 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | |
494 "[SLAVE_BUILD]/src/out/Release/apks/CronetSample.apk", | |
495 "-v", | |
496 "--blacklist-file", | |
497 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
498 "--release" | |
499 ], | |
500 "cwd": "[SLAVE_BUILD]", | |
501 "env": { | |
502 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
503 }, | |
504 "name": "install CronetSample.apk" | |
505 }, | |
506 { | |
507 "cmd": [ | |
508 "python", | 493 "python", |
509 "-u", | 494 "-u", |
510 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 495 "out/Release/bin/run_cronet_sample_test_apk", |
511 "instrumentation", | 496 "instrumentation", |
512 "--test-apk", | |
513 "[SLAVE_BUILD]/src/out/Release/apks/CronetSampleTest.apk", | |
514 "--blacklist-file", | 497 "--blacklist-file", |
515 "[SLAVE_BUILD]/src/out/bad_devices.json", | 498 "[SLAVE_BUILD]/src/out/bad_devices.json", |
516 "--logcat-output-file", | 499 "--logcat-output-file", |
517 "/path/to/tmp/", | 500 "/path/to/tmp/", |
518 "--apk-under-test", | |
519 "[SLAVE_BUILD]/src/out/Release/apks/CronetSample.apk", | |
520 "--additional-apk", | |
521 "[SLAVE_BUILD]/src/out/Release/apks/ChromiumNetTestSupport.apk", | |
522 "--verbose", | 501 "--verbose", |
523 "--release", | |
524 "--num-retries", | 502 "--num-retries", |
525 "0" | 503 "0" |
526 ], | 504 ], |
527 "cwd": "[SLAVE_BUILD]", | 505 "cwd": "[SLAVE_BUILD]", |
528 "name": "Instrumentation test CronetSampleTest" | 506 "name": "Instrumentation test cronet_sample_test_apk" |
529 }, | |
530 { | |
531 "cmd": [ | |
532 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | |
533 "[SLAVE_BUILD]/src/out/Release/apks/CronetTest.apk", | |
534 "-v", | |
535 "--blacklist-file", | |
536 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
537 "--release" | |
538 ], | |
539 "cwd": "[SLAVE_BUILD]", | |
540 "env": { | |
541 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
542 }, | |
543 "name": "install CronetTest.apk" | |
544 }, | 507 }, |
545 { | 508 { |
546 "cmd": [ | 509 "cmd": [ |
547 "python", | 510 "python", |
548 "-u", | 511 "-u", |
549 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 512 "out/Release/bin/run_cronet_test_instrumentation_apk", |
550 "instrumentation", | 513 "instrumentation", |
551 "--test-apk", | |
552 "[SLAVE_BUILD]/src/out/Release/apks/CronetTestInstrumentation.apk", | |
553 "--blacklist-file", | 514 "--blacklist-file", |
554 "[SLAVE_BUILD]/src/out/bad_devices.json", | 515 "[SLAVE_BUILD]/src/out/bad_devices.json", |
555 "--logcat-output-file", | 516 "--logcat-output-file", |
556 "/path/to/tmp/", | 517 "/path/to/tmp/", |
557 "--apk-under-test", | |
558 "[SLAVE_BUILD]/src/out/Release/apks/CronetTest.apk", | |
559 "--additional-apk", | |
560 "[SLAVE_BUILD]/src/out/Release/apks/ChromiumNetTestSupport.apk", | |
561 "--isolate-file-path", | |
562 "components/cronet/android/cronet_test_instrumentation_apk.isolate", | |
563 "--verbose", | 518 "--verbose", |
564 "--release", | |
565 "--num-retries", | 519 "--num-retries", |
566 "0" | 520 "0" |
567 ], | 521 ], |
568 "cwd": "[SLAVE_BUILD]", | 522 "cwd": "[SLAVE_BUILD]", |
569 "name": "Instrumentation test CronetTestInstrumentation" | 523 "name": "Instrumentation test cronet_test_instrumentation_apk" |
570 }, | 524 }, |
571 { | 525 { |
572 "cmd": [ | 526 "cmd": [ |
573 "python", | 527 "python", |
574 "-u", | 528 "-u", |
575 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 529 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
576 "--action", | 530 "--action", |
577 "stop", | 531 "stop", |
578 "--pid-file-path", | 532 "--pid-file-path", |
579 "/tmp/device_monitor.pid" | 533 "/tmp/device_monitor.pid" |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
663 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 617 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
664 "@@@STEP_LOG_END@python.inline@@@" | 618 "@@@STEP_LOG_END@python.inline@@@" |
665 ] | 619 ] |
666 }, | 620 }, |
667 { | 621 { |
668 "name": "$result", | 622 "name": "$result", |
669 "recipe_result": null, | 623 "recipe_result": null, |
670 "status_code": 0 | 624 "status_code": 0 |
671 } | 625 } |
672 ] | 626 ] |
OLD | NEW |