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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_rel.json

Issue 2443113003: Make .pyc cleaning optional in clean_local_files. (Closed)
Patch Set: Fixed expectations Created 4 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
« no previous file with comments | « scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_gyp_rel.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", 6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
7 "[BUILDER_CACHE]/android_rel", 7 "[BUILDER_CACHE]/android_rel",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 "-u", 84 "-u",
85 "RECIPE_MODULE[build::webrtc]/resources/cleanup_files.py", 85 "RECIPE_MODULE[build::webrtc]/resources/cleanup_files.py",
86 "[BUILDER_CACHE]/android_rel/src/out" 86 "[BUILDER_CACHE]/android_rel/src/out"
87 ], 87 ],
88 "name": "clean test output files" 88 "name": "clean test output files"
89 }, 89 },
90 { 90 {
91 "cmd": [ 91 "cmd": [
92 "python", 92 "python",
93 "-u", 93 "-u",
94 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree (sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw ith('.pyc'):\n os.remove(os.path.join(base, f))\n", 94 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree (sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\n",
95 "[BUILDER_CACHE]/android_rel/src/out/Release/debug_info_dumps", 95 "[BUILDER_CACHE]/android_rel/src/out/Release/debug_info_dumps",
96 "[BUILDER_CACHE]/android_rel/src/out/Release/test_logs", 96 "[BUILDER_CACHE]/android_rel/src/out/Release/test_logs",
97 "[BUILDER_CACHE]/android_rel/src/out/build_product.zip", 97 "[BUILDER_CACHE]/android_rel/src/out/build_product.zip",
98 "[BUILDER_CACHE]/android_rel/src" 98 "[BUILDER_CACHE]/android_rel/src"
99 ], 99 ],
100 "name": "clean local files", 100 "name": "clean local files",
101 "~followup_annotations": [ 101 "~followup_annotations": [
102 "@@@STEP_LOG_LINE@python.inline@@@@", 102 "@@@STEP_LOG_LINE@python.inline@@@@",
103 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", 103 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
104 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", 104 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
105 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", 105 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
106 "@@@STEP_LOG_LINE@python.inline@try:@@@", 106 "@@@STEP_LOG_LINE@python.inline@try:@@@",
107 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", 107 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
108 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", 108 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
109 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 109 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
110 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
111 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
112 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
113 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
114 "@@@STEP_LOG_END@python.inline@@@" 110 "@@@STEP_LOG_END@python.inline@@@"
115 ] 111 ]
116 }, 112 },
117 { 113 {
118 "cmd": [ 114 "cmd": [
119 "python", 115 "python",
120 "-u", 116 "-u",
121 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", 117 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py",
122 "--build-dir", 118 "--build-dir",
123 "[BUILDER_CACHE]/android_rel/src/out/Release", 119 "[BUILDER_CACHE]/android_rel/src/out/Release",
(...skipping 2551 matching lines...) Expand 10 before | Expand all | Expand 10 after
2675 "@@@STEP_LOG_END@json.output@@@", 2671 "@@@STEP_LOG_END@json.output@@@",
2676 "@@@STEP_LINK@shard #0 isolated out@blah@@@" 2672 "@@@STEP_LINK@shard #0 isolated out@blah@@@"
2677 ] 2673 ]
2678 }, 2674 },
2679 { 2675 {
2680 "name": "$result", 2676 "name": "$result",
2681 "recipe_result": null, 2677 "recipe_result": null,
2682 "status_code": 0 2678 "status_code": 0
2683 } 2679 }
2684 ] 2680 ]
OLDNEW
« no previous file with comments | « scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_gyp_rel.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698