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

Side by Side Diff: scripts/slave/recipes/cronet.expected/android_cronet_tester.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 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 "180" 452 "180"
453 ], 453 ],
454 "cwd": "[SLAVE_BUILD]", 454 "cwd": "[SLAVE_BUILD]",
455 "env": { 455 "env": {
456 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 456 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
457 }, 457 },
458 "name": "net_unittests" 458 "name": "net_unittests"
459 }, 459 },
460 { 460 {
461 "cmd": [ 461 "cmd": [
462 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
463 "[SLAVE_BUILD]/src/out/Debug/apks/CronetSample.apk",
464 "-v",
465 "--blacklist-file",
466 "[SLAVE_BUILD]/src/out/bad_devices.json"
467 ],
468 "cwd": "[SLAVE_BUILD]",
469 "env": {
470 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
471 },
472 "name": "install CronetSample.apk"
473 },
474 {
475 "cmd": [
476 "python", 462 "python",
477 "-u", 463 "-u",
478 "[SLAVE_BUILD]/src/build/android/test_runner.py", 464 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_sample_test_apk",
479 "instrumentation",
480 "--test-apk",
481 "[SLAVE_BUILD]/src/out/Debug/apks/CronetSampleTest.apk",
482 "--blacklist-file", 465 "--blacklist-file",
483 "[SLAVE_BUILD]/src/out/bad_devices.json", 466 "[SLAVE_BUILD]/src/out/bad_devices.json",
484 "--logcat-output-file", 467 "--logcat-output-file",
485 "/path/to/tmp/", 468 "/path/to/tmp/",
486 "--apk-under-test",
487 "[SLAVE_BUILD]/src/out/Debug/apks/CronetSample.apk",
488 "--additional-apk",
489 "[SLAVE_BUILD]/src/out/Debug/apks/ChromiumNetTestSupport.apk",
490 "--verbose", 469 "--verbose",
491 "--num-retries", 470 "--num-retries",
492 "0" 471 "0"
493 ], 472 ],
494 "cwd": "[SLAVE_BUILD]", 473 "cwd": "[SLAVE_BUILD]",
495 "name": "Instrumentation test CronetSampleTest" 474 "name": "Instrumentation test cronet_sample_test_apk"
496 },
497 {
498 "cmd": [
499 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
500 "[SLAVE_BUILD]/src/out/Debug/apks/CronetTest.apk",
501 "-v",
502 "--blacklist-file",
503 "[SLAVE_BUILD]/src/out/bad_devices.json"
504 ],
505 "cwd": "[SLAVE_BUILD]",
506 "env": {
507 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
508 },
509 "name": "install CronetTest.apk"
510 }, 475 },
511 { 476 {
512 "cmd": [ 477 "cmd": [
513 "python", 478 "python",
514 "-u", 479 "-u",
515 "[SLAVE_BUILD]/src/build/android/test_runner.py", 480 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_test_instrumentation_apk",
516 "instrumentation",
517 "--test-apk",
518 "[SLAVE_BUILD]/src/out/Debug/apks/CronetTestInstrumentation.apk",
519 "--blacklist-file", 481 "--blacklist-file",
520 "[SLAVE_BUILD]/src/out/bad_devices.json", 482 "[SLAVE_BUILD]/src/out/bad_devices.json",
521 "--logcat-output-file", 483 "--logcat-output-file",
522 "/path/to/tmp/", 484 "/path/to/tmp/",
523 "--apk-under-test",
524 "[SLAVE_BUILD]/src/out/Debug/apks/CronetTest.apk",
525 "--additional-apk",
526 "[SLAVE_BUILD]/src/out/Debug/apks/ChromiumNetTestSupport.apk",
527 "--isolate-file-path",
528 "components/cronet/android/cronet_test_instrumentation_apk.isolate",
529 "--verbose", 485 "--verbose",
530 "--num-retries", 486 "--num-retries",
531 "0" 487 "0"
532 ], 488 ],
533 "cwd": "[SLAVE_BUILD]", 489 "cwd": "[SLAVE_BUILD]",
534 "name": "Instrumentation test CronetTestInstrumentation" 490 "name": "Instrumentation test cronet_test_instrumentation_apk"
535 }, 491 },
536 { 492 {
537 "cmd": [ 493 "cmd": [
538 "python", 494 "python",
539 "-u", 495 "-u",
540 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 496 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
541 "--action", 497 "--action",
542 "stop", 498 "stop",
543 "--pid-file-path", 499 "--pid-file-path",
544 "/tmp/device_monitor.pid" 500 "/tmp/device_monitor.pid"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 584 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
629 "@@@STEP_LOG_END@python.inline@@@" 585 "@@@STEP_LOG_END@python.inline@@@"
630 ] 586 ]
631 }, 587 },
632 { 588 {
633 "name": "$result", 589 "name": "$result",
634 "recipe_result": null, 590 "recipe_result": null,
635 "status_code": 0 591 "status_code": 0
636 } 592 }
637 ] 593 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698