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

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

Powered by Google App Engine
This is Rietveld 408576698