| Index: infra/bots/recipes/swarm_presubmit.expected/presubmit.json
|
| diff --git a/infra/bots/recipes/swarm_presubmit.expected/presubmit.json b/infra/bots/recipes/swarm_presubmit.expected/presubmit.json
|
| index 5e88fc3353e72a73e7de1800801b9a1897be54dd..b98f730573cfc01f353013ed7f2528d27085005c 100644
|
| --- a/infra/bots/recipes/swarm_presubmit.expected/presubmit.json
|
| +++ b/infra/bots/recipes/swarm_presubmit.expected/presubmit.json
|
| @@ -121,6 +121,28 @@
|
| },
|
| {
|
| "cmd": [
|
| + "python",
|
| + "-u",
|
| + "\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",
|
| + "[SLAVE_BUILD]/gopath",
|
| + "511"
|
| + ],
|
| + "name": "makedirs gopath",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@python.inline@@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
|
| + "@@@STEP_LOG_END@python.inline@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| "git",
|
| "status"
|
| ],
|
| @@ -137,6 +159,7 @@
|
| ],
|
| "cwd": "[CUSTOM_/_B_WORK]/skia",
|
| "env": {
|
| + "GOPATH": "[SLAVE_BUILD]/gopath",
|
| "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
|
| },
|
| "name": "presubmit"
|
|
|