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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_builder_x86.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]/Android32_Builder_x86", 7 "[BUILDER_CACHE]/Android32_Builder_x86",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 "-u", 78 "-u",
79 "RECIPE_MODULE[build::webrtc]/resources/cleanup_files.py", 79 "RECIPE_MODULE[build::webrtc]/resources/cleanup_files.py",
80 "[BUILDER_CACHE]/Android32_Builder_x86/src/out" 80 "[BUILDER_CACHE]/Android32_Builder_x86/src/out"
81 ], 81 ],
82 "name": "clean test output files" 82 "name": "clean test output files"
83 }, 83 },
84 { 84 {
85 "cmd": [ 85 "cmd": [
86 "python", 86 "python",
87 "-u", 87 "-u",
88 "\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", 88 "\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",
89 "[BUILDER_CACHE]/Android32_Builder_x86/src/out/Release/debug_info_dumps", 89 "[BUILDER_CACHE]/Android32_Builder_x86/src/out/Release/debug_info_dumps",
90 "[BUILDER_CACHE]/Android32_Builder_x86/src/out/Release/test_logs", 90 "[BUILDER_CACHE]/Android32_Builder_x86/src/out/Release/test_logs",
91 "[BUILDER_CACHE]/Android32_Builder_x86/src/out/build_product.zip", 91 "[BUILDER_CACHE]/Android32_Builder_x86/src/out/build_product.zip",
92 "[BUILDER_CACHE]/Android32_Builder_x86/src" 92 "[BUILDER_CACHE]/Android32_Builder_x86/src"
93 ], 93 ],
94 "name": "clean local files", 94 "name": "clean local files",
95 "~followup_annotations": [ 95 "~followup_annotations": [
96 "@@@STEP_LOG_LINE@python.inline@@@@", 96 "@@@STEP_LOG_LINE@python.inline@@@@",
97 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", 97 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
98 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", 98 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
99 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", 99 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
100 "@@@STEP_LOG_LINE@python.inline@try:@@@", 100 "@@@STEP_LOG_LINE@python.inline@try:@@@",
101 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", 101 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
102 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", 102 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
103 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 103 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
104 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
105 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
106 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
107 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
108 "@@@STEP_LOG_END@python.inline@@@" 104 "@@@STEP_LOG_END@python.inline@@@"
109 ] 105 ]
110 }, 106 },
111 { 107 {
112 "cmd": [], 108 "cmd": [],
113 "name": "ensure_goma" 109 "name": "ensure_goma"
114 }, 110 },
115 { 111 {
116 "cmd": [ 112 "cmd": [
117 "python", 113 "python",
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", 246 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
251 "@@@STEP_LOG_END@json.output (invalid)@@@" 247 "@@@STEP_LOG_END@json.output (invalid)@@@"
252 ] 248 ]
253 }, 249 },
254 { 250 {
255 "name": "$result", 251 "name": "$result",
256 "recipe_result": null, 252 "recipe_result": null,
257 "status_code": 0 253 "status_code": 0
258 } 254 }
259 ] 255 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698