| Index: scripts/slave/recipe_modules/isolate/example.expected/basic.json
|
| diff --git a/scripts/slave/recipe_modules/isolate/example.expected/basic.json b/scripts/slave/recipe_modules/isolate/example.expected/basic.json
|
| index 7806a32ac3e1754a2589fa6b0f63f4a938796466..2bade8355010d4def976116cbf45b48a79fc4639 100644
|
| --- a/scripts/slave/recipe_modules/isolate/example.expected/basic.json
|
| +++ b/scripts/slave/recipe_modules/isolate/example.expected/basic.json
|
| @@ -5,10 +5,11 @@
|
| "-u",
|
| "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
|
| "--path",
|
| - "[CWD]/swarming.client",
|
| + "[SLAVE_BUILD]/swarming.client",
|
| "--url",
|
| "https://chromium.googlesource.com/external/swarming.client.git"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "git setup (swarming_client)"
|
| },
|
| {
|
| @@ -19,7 +20,7 @@
|
| "origin",
|
| "master"
|
| ],
|
| - "cwd": "[CWD]/swarming.client",
|
| + "cwd": "[SLAVE_BUILD]/swarming.client",
|
| "name": "git fetch (swarming_client)"
|
| },
|
| {
|
| @@ -29,7 +30,7 @@
|
| "-f",
|
| "FETCH_HEAD"
|
| ],
|
| - "cwd": "[CWD]/swarming.client",
|
| + "cwd": "[SLAVE_BUILD]/swarming.client",
|
| "name": "git checkout (swarming_client)"
|
| },
|
| {
|
| @@ -38,7 +39,7 @@
|
| "rev-parse",
|
| "HEAD"
|
| ],
|
| - "cwd": "[CWD]/swarming.client",
|
| + "cwd": "[SLAVE_BUILD]/swarming.client",
|
| "name": "read revision",
|
| "stdout": "/path/to/tmp/",
|
| "~followup_annotations": [
|
| @@ -53,7 +54,7 @@
|
| "-d",
|
| "-x"
|
| ],
|
| - "cwd": "[CWD]/swarming.client",
|
| + "cwd": "[SLAVE_BUILD]/swarming.client",
|
| "name": "git clean (swarming_client)"
|
| },
|
| {
|
| @@ -62,7 +63,7 @@
|
| "submodule",
|
| "sync"
|
| ],
|
| - "cwd": "[CWD]/swarming.client",
|
| + "cwd": "[SLAVE_BUILD]/swarming.client",
|
| "name": "submodule sync (swarming_client)"
|
| },
|
| {
|
| @@ -73,13 +74,14 @@
|
| "--init",
|
| "--recursive"
|
| ],
|
| - "cwd": "[CWD]/swarming.client",
|
| + "cwd": "[SLAVE_BUILD]/swarming.client",
|
| "name": "submodule update (swarming_client)"
|
| },
|
| {
|
| "cmd": [
|
| "cat"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "read test spec",
|
| "stdout": "/path/to/tmp/json",
|
| "~followup_annotations": [
|
| @@ -96,10 +98,11 @@
|
| "-u",
|
| "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py",
|
| "--build-dir",
|
| - "[ROOT]/b/build",
|
| + "[BUILD]",
|
| "--output-json",
|
| "/path/to/tmp/json"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "find isolated tests",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| @@ -115,15 +118,16 @@
|
| "python",
|
| "-u",
|
| "RECIPE_MODULE[build::isolate]/resources/isolate.py",
|
| - "[CWD]/swarming.client",
|
| + "[SLAVE_BUILD]/swarming.client",
|
| "batcharchive",
|
| "--dump-json",
|
| "/path/to/tmp/json",
|
| "--isolate-server",
|
| "https://isolateserver-dev.appspot.com",
|
| - "[ROOT]/b/build/test1.isolated.gen.json",
|
| - "[ROOT]/b/build/test2.isolated.gen.json"
|
| + "[BUILD]/test1.isolated.gen.json",
|
| + "[BUILD]/test2.isolated.gen.json"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "isolate tests",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
|
|