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

Powered by Google App Engine
This is Rietveld 408576698