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

Side by Side Diff: scripts/slave/recipe_modules/cronet/example.expected/local_test.json

Issue 1855663002: Make android's run_instrumentation_suite() use generated wrapper scripts (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@wrapper-1
Patch Set: address comments Created 4 years, 8 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 "\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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 "180" 478 "180"
479 ], 479 ],
480 "cwd": "[SLAVE_BUILD]", 480 "cwd": "[SLAVE_BUILD]",
481 "env": { 481 "env": {
482 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 482 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
483 }, 483 },
484 "name": "net_unittests" 484 "name": "net_unittests"
485 }, 485 },
486 { 486 {
487 "cmd": [ 487 "cmd": [
488 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
489 "[SLAVE_BUILD]/src/out/Debug/apks/CronetSample.apk",
490 "-v",
491 "--blacklist-file",
492 "[SLAVE_BUILD]/src/out/bad_devices.json"
493 ],
494 "cwd": "[SLAVE_BUILD]",
495 "env": {
496 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
497 },
498 "name": "install CronetSample.apk"
499 },
500 {
501 "cmd": [
502 "python", 488 "python",
503 "-u", 489 "-u",
504 "[SLAVE_BUILD]/src/build/android/test_runner.py", 490 "out/Debug/bin/run_cronet_sample_test_apk",
505 "instrumentation", 491 "instrumentation",
506 "--test-apk",
507 "[SLAVE_BUILD]/src/out/Debug/apks/CronetSampleTest.apk",
508 "--blacklist-file", 492 "--blacklist-file",
509 "[SLAVE_BUILD]/src/out/bad_devices.json", 493 "[SLAVE_BUILD]/src/out/bad_devices.json",
510 "--logcat-output-file", 494 "--logcat-output-file",
511 "/path/to/tmp/", 495 "/path/to/tmp/",
512 "--apk-under-test",
513 "[SLAVE_BUILD]/src/out/Debug/apks/CronetSample.apk",
514 "--additional-apk",
515 "[SLAVE_BUILD]/src/out/Debug/apks/ChromiumNetTestSupport.apk",
516 "--verbose", 496 "--verbose",
517 "--num-retries", 497 "--num-retries",
518 "0" 498 "0"
519 ], 499 ],
520 "cwd": "[SLAVE_BUILD]", 500 "cwd": "[SLAVE_BUILD]",
521 "name": "Instrumentation test CronetSampleTest" 501 "name": "Instrumentation test cronet_sample_test_apk"
522 },
523 {
524 "cmd": [
525 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
526 "[SLAVE_BUILD]/src/out/Debug/apks/CronetTest.apk",
527 "-v",
528 "--blacklist-file",
529 "[SLAVE_BUILD]/src/out/bad_devices.json"
530 ],
531 "cwd": "[SLAVE_BUILD]",
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": "install CronetTest.apk"
536 }, 502 },
537 { 503 {
538 "cmd": [ 504 "cmd": [
539 "python", 505 "python",
540 "-u", 506 "-u",
541 "[SLAVE_BUILD]/src/build/android/test_runner.py", 507 "out/Debug/bin/run_cronet_test_instrumentation_apk",
542 "instrumentation", 508 "instrumentation",
543 "--test-apk",
544 "[SLAVE_BUILD]/src/out/Debug/apks/CronetTestInstrumentation.apk",
545 "--blacklist-file", 509 "--blacklist-file",
546 "[SLAVE_BUILD]/src/out/bad_devices.json", 510 "[SLAVE_BUILD]/src/out/bad_devices.json",
547 "--logcat-output-file", 511 "--logcat-output-file",
548 "/path/to/tmp/", 512 "/path/to/tmp/",
549 "--apk-under-test",
550 "[SLAVE_BUILD]/src/out/Debug/apks/CronetTest.apk",
551 "--additional-apk",
552 "[SLAVE_BUILD]/src/out/Debug/apks/ChromiumNetTestSupport.apk",
553 "--isolate-file-path",
554 "components/cronet/android/cronet_test_instrumentation_apk.isolate",
555 "--verbose", 513 "--verbose",
556 "--num-retries", 514 "--num-retries",
557 "0" 515 "0"
558 ], 516 ],
559 "cwd": "[SLAVE_BUILD]", 517 "cwd": "[SLAVE_BUILD]",
560 "name": "Instrumentation test CronetTestInstrumentation" 518 "name": "Instrumentation test cronet_test_instrumentation_apk"
561 }, 519 },
562 { 520 {
563 "cmd": [ 521 "cmd": [
564 "python", 522 "python",
565 "-u", 523 "-u",
566 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 524 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
567 "--action", 525 "--action",
568 "stop", 526 "stop",
569 "--pid-file-path", 527 "--pid-file-path",
570 "/tmp/device_monitor.pid" 528 "/tmp/device_monitor.pid"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 612 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
655 "@@@STEP_LOG_END@python.inline@@@" 613 "@@@STEP_LOG_END@python.inline@@@"
656 ] 614 ]
657 }, 615 },
658 { 616 {
659 "name": "$result", 617 "name": "$result",
660 "recipe_result": null, 618 "recipe_result": null,
661 "status_code": 0 619 "status_code": 0
662 } 620 }
663 ] 621 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698