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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32__m_nexus5x_.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__M_Nexus5X_", 7 "[BUILDER_CACHE]/Android32__M_Nexus5X_",
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__M_Nexus5X_/src/out" 80 "[BUILDER_CACHE]/Android32__M_Nexus5X_/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__M_Nexus5X_/src/out/Release/debug_info_dumps", 89 "[BUILDER_CACHE]/Android32__M_Nexus5X_/src/out/Release/debug_info_dumps",
90 "[BUILDER_CACHE]/Android32__M_Nexus5X_/src/out/Release/test_logs", 90 "[BUILDER_CACHE]/Android32__M_Nexus5X_/src/out/Release/test_logs",
91 "[BUILDER_CACHE]/Android32__M_Nexus5X_/src/out/build_product.zip", 91 "[BUILDER_CACHE]/Android32__M_Nexus5X_/src/out/build_product.zip",
92 "[BUILDER_CACHE]/Android32__M_Nexus5X_/src" 92 "[BUILDER_CACHE]/Android32__M_Nexus5X_/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 "python", 109 "python",
114 "-u", 110 "-u",
115 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", 111 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py",
116 "--build-dir", 112 "--build-dir",
117 "[BUILDER_CACHE]/Android32__M_Nexus5X_/src/out/Release", 113 "[BUILDER_CACHE]/Android32__M_Nexus5X_/src/out/Release",
(...skipping 2545 matching lines...) Expand 10 before | Expand all | Expand 10 after
2663 "@@@STEP_LOG_END@json.output@@@", 2659 "@@@STEP_LOG_END@json.output@@@",
2664 "@@@STEP_LINK@shard #0 isolated out@blah@@@" 2660 "@@@STEP_LINK@shard #0 isolated out@blah@@@"
2665 ] 2661 ]
2666 }, 2662 },
2667 { 2663 {
2668 "name": "$result", 2664 "name": "$result",
2669 "recipe_result": null, 2665 "recipe_result": null,
2670 "status_code": 0 2666 "status_code": 0
2671 } 2667 }
2672 ] 2668 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698