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

Unified 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, 2 months 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 side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_compile_rel.json
diff --git a/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_compile_rel.json b/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_compile_rel.json
index a7b1e0dfb96167e0e83e4c6f714d31a0249b6e52..b9f5c5a4d09190b020d2f36a96383bef2074ba23 100644
--- a/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_compile_rel.json
+++ b/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_compile_rel.json
@@ -91,7 +91,7 @@
"cmd": [
"python",
"-u",
- "\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\nfor base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endswith('.pyc'):\n os.remove(os.path.join(base, f))\n",
+ "\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",
"[BUILDER_CACHE]/android_compile_rel/src/out/Release/debug_info_dumps",
"[BUILDER_CACHE]/android_compile_rel/src/out/Release/test_logs",
"[BUILDER_CACHE]/android_compile_rel/src/out/build_product.zip",
@@ -107,10 +107,6 @@
"@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
"@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
"@@@STEP_LOG_LINE@python.inline@ pass@@@",
- "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv[4]):@@@",
- "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
- "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
- "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@",
"@@@STEP_LOG_END@python.inline@@@"
]
},

Powered by Google App Engine
This is Rietveld 408576698