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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/tester_basic.json

Issue 1465343002: [Android] Add context manager to record logcat during step(s). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 5 years, 1 month 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 | Annotate | Revision Log
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 646 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 "test.py" 657 "test.py"
658 ], 658 ],
659 "cwd": "[SLAVE_BUILD]", 659 "cwd": "[SLAVE_BUILD]",
660 "name": "run bisect perf regression" 660 "name": "run bisect perf regression"
661 }, 661 },
662 { 662 {
663 "cmd": [ 663 "cmd": [
664 "python", 664 "python",
665 "-u", 665 "-u",
666 "[BUILD]/scripts/slave/tee.py", 666 "[BUILD]/scripts/slave/tee.py",
667 "[SLAVE_BUILD]/src/out/Release/full_log", 667 "[SLAVE_BUILD]/src/out/Release/full_logcat",
668 "--", 668 "--",
669 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 669 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
670 "[SLAVE_BUILD]/src/out/logcat" 670 "[SLAVE_BUILD]/src/out/logcat"
671 ], 671 ],
672 "cwd": "[SLAVE_BUILD]", 672 "cwd": "[SLAVE_BUILD]",
673 "name": "logcat_dump" 673 "name": "logcat_dump"
674 }, 674 },
675 { 675 {
676 "cmd": [ 676 "cmd": [
677 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 677 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
678 "--arch", 678 "--arch",
679 "arm", 679 "arm",
680 "--more-info", 680 "--more-info",
681 "[SLAVE_BUILD]/src/out/Release/full_log" 681 "[SLAVE_BUILD]/src/out/Release/full_logcat"
682 ], 682 ],
683 "cwd": "[SLAVE_BUILD]", 683 "cwd": "[SLAVE_BUILD]",
684 "env": { 684 "env": {
685 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 685 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
686 }, 686 },
687 "name": "stack_tool_with_logcat_dump" 687 "name": "stack_tool_with_logcat_dump"
688 }, 688 },
689 { 689 {
690 "cmd": [ 690 "cmd": [
691 "[SLAVE_BUILD]/src/build/android/tombstones.py", 691 "[SLAVE_BUILD]/src/build/android/tombstones.py",
692 "-a", 692 "-a",
693 "-s", 693 "-s",
694 "-w" 694 "-w"
695 ], 695 ],
696 "cwd": "[SLAVE_BUILD]", 696 "cwd": "[SLAVE_BUILD]",
697 "env": { 697 "env": {
698 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 698 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
699 }, 699 },
700 "name": "stack_tool_for_tombstones" 700 "name": "stack_tool_for_tombstones"
701 }, 701 },
702 { 702 {
703 "cmd": [ 703 "cmd": [
704 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", 704 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py",
705 "-l", 705 "-l",
706 "[SLAVE_BUILD]/src/out/Release/full_log" 706 "[SLAVE_BUILD]/src/out/Release/full_logcat"
707 ], 707 ],
708 "cwd": "[SLAVE_BUILD]", 708 "cwd": "[SLAVE_BUILD]",
709 "env": { 709 "env": {
710 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 710 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
711 }, 711 },
712 "name": "stack_tool_for_asan" 712 "name": "stack_tool_for_asan"
713 }, 713 },
714 { 714 {
715 "name": "$result", 715 "name": "$result",
716 "recipe_result": null, 716 "recipe_result": null,
717 "status_code": 0 717 "status_code": 0
718 } 718 }
719 ] 719 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698