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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_compile_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
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_compile_rel", 7 "[BUILDER_CACHE]/android_compile_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_compile_rel/src/out" 86 "[BUILDER_CACHE]/android_compile_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_compile_rel/src/out/Release/debug_info_dumps", 95 "[BUILDER_CACHE]/android_compile_rel/src/out/Release/debug_info_dumps",
96 "[BUILDER_CACHE]/android_compile_rel/src/out/Release/test_logs", 96 "[BUILDER_CACHE]/android_compile_rel/src/out/Release/test_logs",
97 "[BUILDER_CACHE]/android_compile_rel/src/out/build_product.zip", 97 "[BUILDER_CACHE]/android_compile_rel/src/out/build_product.zip",
98 "[BUILDER_CACHE]/android_compile_rel/src" 98 "[BUILDER_CACHE]/android_compile_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 "name": "ensure_goma" 115 "name": "ensure_goma"
120 }, 116 },
121 { 117 {
122 "cmd": [ 118 "cmd": [
123 "python", 119 "python",
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", 254 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
259 "@@@STEP_LOG_END@json.output (invalid)@@@" 255 "@@@STEP_LOG_END@json.output (invalid)@@@"
260 ] 256 ]
261 }, 257 },
262 { 258 {
263 "name": "$result", 259 "name": "$result",
264 "recipe_result": null, 260 "recipe_result": null,
265 "status_code": 0 261 "status_code": 0
266 } 262 }
267 ] 263 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698