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

Side by Side Diff: scripts/slave/recipes/cronet.expected/cronet_try.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 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 "180" 460 "180"
461 ], 461 ],
462 "cwd": "[SLAVE_BUILD]", 462 "cwd": "[SLAVE_BUILD]",
463 "env": { 463 "env": {
464 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 464 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
465 }, 465 },
466 "name": "net_unittests" 466 "name": "net_unittests"
467 }, 467 },
468 { 468 {
469 "cmd": [ 469 "cmd": [
470 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
471 "[SLAVE_BUILD]/src/out/Debug/apks/CronetSample.apk",
472 "-v",
473 "--blacklist-file",
474 "[SLAVE_BUILD]/src/out/bad_devices.json"
475 ],
476 "cwd": "[SLAVE_BUILD]",
477 "env": {
478 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
479 },
480 "name": "install CronetSample.apk"
481 },
482 {
483 "cmd": [
484 "python", 470 "python",
485 "-u", 471 "-u",
486 "[SLAVE_BUILD]/src/build/android/test_runner.py", 472 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_sample_test_apk",
487 "instrumentation",
488 "--test-apk",
489 "[SLAVE_BUILD]/src/out/Debug/apks/CronetSampleTest.apk",
490 "--blacklist-file", 473 "--blacklist-file",
491 "[SLAVE_BUILD]/src/out/bad_devices.json", 474 "[SLAVE_BUILD]/src/out/bad_devices.json",
492 "--logcat-output-file", 475 "--logcat-output-file",
493 "/path/to/tmp/", 476 "/path/to/tmp/",
494 "--apk-under-test",
495 "[SLAVE_BUILD]/src/out/Debug/apks/CronetSample.apk",
496 "--additional-apk",
497 "[SLAVE_BUILD]/src/out/Debug/apks/ChromiumNetTestSupport.apk",
498 "--verbose", 477 "--verbose",
499 "--num-retries", 478 "--num-retries",
500 "0" 479 "0"
501 ], 480 ],
502 "cwd": "[SLAVE_BUILD]", 481 "cwd": "[SLAVE_BUILD]",
503 "name": "Instrumentation test CronetSampleTest" 482 "name": "Instrumentation test cronet_sample_test_apk"
504 },
505 {
506 "cmd": [
507 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
508 "[SLAVE_BUILD]/src/out/Debug/apks/CronetTest.apk",
509 "-v",
510 "--blacklist-file",
511 "[SLAVE_BUILD]/src/out/bad_devices.json"
512 ],
513 "cwd": "[SLAVE_BUILD]",
514 "env": {
515 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
516 },
517 "name": "install CronetTest.apk"
518 }, 483 },
519 { 484 {
520 "cmd": [ 485 "cmd": [
521 "python", 486 "python",
522 "-u", 487 "-u",
523 "[SLAVE_BUILD]/src/build/android/test_runner.py", 488 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_test_instrumentation_apk",
524 "instrumentation",
525 "--test-apk",
526 "[SLAVE_BUILD]/src/out/Debug/apks/CronetTestInstrumentation.apk",
527 "--blacklist-file", 489 "--blacklist-file",
528 "[SLAVE_BUILD]/src/out/bad_devices.json", 490 "[SLAVE_BUILD]/src/out/bad_devices.json",
529 "--logcat-output-file", 491 "--logcat-output-file",
530 "/path/to/tmp/", 492 "/path/to/tmp/",
531 "--apk-under-test",
532 "[SLAVE_BUILD]/src/out/Debug/apks/CronetTest.apk",
533 "--additional-apk",
534 "[SLAVE_BUILD]/src/out/Debug/apks/ChromiumNetTestSupport.apk",
535 "--isolate-file-path",
536 "components/cronet/android/cronet_test_instrumentation_apk.isolate",
537 "--verbose", 493 "--verbose",
538 "--num-retries", 494 "--num-retries",
539 "0" 495 "0"
540 ], 496 ],
541 "cwd": "[SLAVE_BUILD]", 497 "cwd": "[SLAVE_BUILD]",
542 "name": "Instrumentation test CronetTestInstrumentation" 498 "name": "Instrumentation test cronet_test_instrumentation_apk"
543 }, 499 },
544 { 500 {
545 "cmd": [ 501 "cmd": [
546 "python", 502 "python",
547 "-u", 503 "-u",
548 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 504 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
549 "--action", 505 "--action",
550 "stop", 506 "stop",
551 "--pid-file-path", 507 "--pid-file-path",
552 "/tmp/device_monitor.pid" 508 "/tmp/device_monitor.pid"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 594 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
639 "@@@STEP_LOG_END@python.inline@@@" 595 "@@@STEP_LOG_END@python.inline@@@"
640 ] 596 ]
641 }, 597 },
642 { 598 {
643 "name": "$result", 599 "name": "$result",
644 "recipe_result": null, 600 "recipe_result": null,
645 "status_code": 0 601 "status_code": 0
646 } 602 }
647 ] 603 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698