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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/webview_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 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 648 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 "test.py" 659 "test.py"
660 ], 660 ],
661 "cwd": "[SLAVE_BUILD]", 661 "cwd": "[SLAVE_BUILD]",
662 "name": "run bisect perf regression" 662 "name": "run bisect perf regression"
663 }, 663 },
664 { 664 {
665 "cmd": [ 665 "cmd": [
666 "python", 666 "python",
667 "-u", 667 "-u",
668 "[BUILD]/scripts/slave/tee.py", 668 "[BUILD]/scripts/slave/tee.py",
669 "[SLAVE_BUILD]/src/out/Release/full_log", 669 "[SLAVE_BUILD]/src/out/Release/full_logcat",
670 "--", 670 "--",
671 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 671 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
672 "[SLAVE_BUILD]/src/out/logcat" 672 "[SLAVE_BUILD]/src/out/logcat"
673 ], 673 ],
674 "cwd": "[SLAVE_BUILD]", 674 "cwd": "[SLAVE_BUILD]",
675 "name": "logcat_dump" 675 "name": "logcat_dump"
676 }, 676 },
677 { 677 {
678 "cmd": [ 678 "cmd": [
679 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 679 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
680 "--arch", 680 "--arch",
681 "arm", 681 "arm",
682 "--more-info", 682 "--more-info",
683 "[SLAVE_BUILD]/src/out/Release/full_log" 683 "[SLAVE_BUILD]/src/out/Release/full_logcat"
684 ], 684 ],
685 "cwd": "[SLAVE_BUILD]", 685 "cwd": "[SLAVE_BUILD]",
686 "env": { 686 "env": {
687 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 687 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
688 }, 688 },
689 "name": "stack_tool_with_logcat_dump" 689 "name": "stack_tool_with_logcat_dump"
690 }, 690 },
691 { 691 {
692 "cmd": [ 692 "cmd": [
693 "[SLAVE_BUILD]/src/build/android/tombstones.py", 693 "[SLAVE_BUILD]/src/build/android/tombstones.py",
694 "-a", 694 "-a",
695 "-s", 695 "-s",
696 "-w" 696 "-w"
697 ], 697 ],
698 "cwd": "[SLAVE_BUILD]", 698 "cwd": "[SLAVE_BUILD]",
699 "env": { 699 "env": {
700 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 700 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
701 }, 701 },
702 "name": "stack_tool_for_tombstones" 702 "name": "stack_tool_for_tombstones"
703 }, 703 },
704 { 704 {
705 "cmd": [ 705 "cmd": [
706 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", 706 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py",
707 "-l", 707 "-l",
708 "[SLAVE_BUILD]/src/out/Release/full_log" 708 "[SLAVE_BUILD]/src/out/Release/full_logcat"
709 ], 709 ],
710 "cwd": "[SLAVE_BUILD]", 710 "cwd": "[SLAVE_BUILD]",
711 "env": { 711 "env": {
712 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 712 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
713 }, 713 },
714 "name": "stack_tool_for_asan" 714 "name": "stack_tool_for_asan"
715 }, 715 },
716 { 716 {
717 "name": "$result", 717 "name": "$result",
718 "recipe_result": null, 718 "recipe_result": null,
719 "status_code": 0 719 "status_code": 0
720 } 720 }
721 ] 721 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698