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

Side by Side Diff: scripts/slave/recipe_modules/cronet/example.expected/local_test.json

Issue 2291273005: Add counting the number of CPU's in goma module (Closed)
Patch Set: Created 4 years, 3 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 unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n", 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n",
7 "[SLAVE_BUILD]" 7 "[SLAVE_BUILD]"
8 ], 8 ],
9 "name": "cleanup index.lock", 9 "name": "cleanup index.lock",
10 "~followup_annotations": [ 10 "~followup_annotations": [
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 "@@@STEP_LOG_LINE@json.output@ }@@@", 209 "@@@STEP_LOG_LINE@json.output@ }@@@",
210 "@@@STEP_LOG_LINE@json.output@ ]@@@", 210 "@@@STEP_LOG_LINE@json.output@ ]@@@",
211 "@@@STEP_LOG_LINE@json.output@}@@@", 211 "@@@STEP_LOG_LINE@json.output@}@@@",
212 "@@@STEP_LOG_END@json.output@@@" 212 "@@@STEP_LOG_END@json.output@@@"
213 ] 213 ]
214 }, 214 },
215 { 215 {
216 "cmd": [ 216 "cmd": [
217 "python", 217 "python",
218 "-u", 218 "-u",
219 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
220 ],
221 "name": "ensure_goma.get the number of cpus",
222 "stdout": "/path/to/tmp/",
223 "~followup_annotations": [
224 "@@@STEP_NEST_LEVEL@1@@@",
225 "@@@STEP_LOG_LINE@python.inline@@@@",
226 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
227 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
228 "@@@STEP_LOG_END@python.inline@@@"
229 ]
230 },
231 {
232 "cmd": [
233 "python",
234 "-u",
219 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n", 235 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n",
220 "[SLAVE_BUILD]/src/out/Debug" 236 "[SLAVE_BUILD]/src/out/Debug"
221 ], 237 ],
222 "name": "rmtree clobber", 238 "name": "rmtree clobber",
223 "~followup_annotations": [ 239 "~followup_annotations": [
224 "@@@STEP_LOG_LINE@python.inline@@@@", 240 "@@@STEP_LOG_LINE@python.inline@@@@",
225 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 241 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
226 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", 242 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
227 "@@@STEP_LOG_LINE@python.inline@@@@", 243 "@@@STEP_LOG_LINE@python.inline@@@@",
228 "@@@STEP_LOG_LINE@python.inline@@@@", 244 "@@@STEP_LOG_LINE@python.inline@@@@",
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 734 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
719 "@@@STEP_LOG_END@python.inline@@@" 735 "@@@STEP_LOG_END@python.inline@@@"
720 ] 736 ]
721 }, 737 },
722 { 738 {
723 "name": "$result", 739 "name": "$result",
724 "recipe_result": null, 740 "recipe_result": null,
725 "status_code": 0 741 "status_code": 0
726 } 742 }
727 ] 743 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698