Index: scripts/slave/recipes/swarming/staging.expected/mac_Debug.json |
diff --git a/scripts/slave/recipes/swarming/staging.expected/mac_Debug.json b/scripts/slave/recipes/swarming/staging.expected/mac_Debug.json |
index 4923574878bb66b46f363930d984509f10afcfac..016395fb10c9a8bfe512b2e3fd59a7af7d879b19 100644 |
--- a/scripts/slave/recipes/swarming/staging.expected/mac_Debug.json |
+++ b/scripts/slave/recipes/swarming/staging.expected/mac_Debug.json |
@@ -8,6 +8,7 @@ |
"python", |
"RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "cleanup_temp" |
}, |
{ |
@@ -17,8 +18,9 @@ |
"RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
"config", |
"--spec", |
- "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'custom_vars': {'googlecode_url': 'svn://svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium.org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org/%(repo)s', 'swarming_revision': '', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.golo.chromium.org/chrome/trunk/src'}]" |
+ "cache_dir = '[GIT_CACHE]'\nsolutions = [{'custom_vars': {'googlecode_url': 'svn://svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium.org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org/%(repo)s', 'swarming_revision': '', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.golo.chromium.org/chrome/trunk/src'}]" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -41,6 +43,7 @@ |
"--output-json", |
"/path/to/tmp/json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -81,9 +84,10 @@ |
"cmd": [ |
"python", |
"-u", |
- "[CWD]/src/tools/swarming_client/swarming.py", |
+ "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py", |
"--version" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "swarming.py --version", |
"stdout": "/path/to/tmp/", |
"~followup_annotations": [ |
@@ -97,9 +101,10 @@ |
"RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
"runhooks" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json", |
- "GYP_DEFINES": "clang=1 component=shared_library gomadir='[ROOT]/b/build/goma' target_arch=x64 test_isolation_mode=prepare use_goma=1", |
+ "GYP_DEFINES": "clang=1 component=shared_library gomadir='[BUILD]/goma' target_arch=x64 test_isolation_mode=prepare use_goma=1", |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
"name": "gclient runhooks" |
@@ -110,9 +115,10 @@ |
"-u", |
"RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", |
"--build-dir", |
- "[CWD]/src/out/Debug", |
+ "[SLAVE_BUILD]/src/out/Debug", |
"--clean-isolated-files" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "clean isolated files" |
}, |
{ |
@@ -122,10 +128,11 @@ |
"-u", |
"RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py", |
"--src-dir", |
- "[CWD]/src", |
+ "[SLAVE_BUILD]/src", |
"--output-json", |
"/path/to/tmp/json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json" |
}, |
@@ -152,9 +159,9 @@ |
"--target", |
"Debug", |
"--src-dir", |
- "[CWD]/src", |
+ "[SLAVE_BUILD]/src", |
"--goma-cache-dir", |
- "[ROOT]/b/build/slave/goma_cache", |
+ "[GOMA_CACHE]", |
"--build-tool", |
"ninja", |
"--compiler", |
@@ -164,10 +171,11 @@ |
"--goma-service-account-json-file", |
"/creds/service_accounts/service-account-goma-client.json", |
"--goma-dir", |
- "[ROOT]/b/build/goma", |
+ "[BUILD]/goma", |
"--", |
"chromium_swarm_tests" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json" |
}, |
@@ -183,11 +191,11 @@ |
"-u", |
"RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py", |
"--build-dir", |
- "[CWD]/src/out/Debug", |
+ "[SLAVE_BUILD]/src/out/Debug", |
"--src-dir", |
- "[CWD]/src" |
+ "[SLAVE_BUILD]/src" |
], |
- "cwd": "[CWD]", |
+ "cwd": "[SLAVE_BUILD]", |
"name": "remove_build_metadata" |
}, |
{ |
@@ -196,8 +204,9 @@ |
"-u", |
"\nimport glob\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write('\\n'.join(glob.glob(sys.argv[2])))\n", |
"/path/to/tmp/", |
- "[CWD]/src/out/Debug/*.isolated.gen.json" |
+ "[SLAVE_BUILD]/src/out/Debug/*.isolated.gen.json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "find isolated targets" |
}, |
{ |
@@ -205,16 +214,17 @@ |
"python", |
"-u", |
"RECIPE_MODULE[build::isolate]/resources/isolate.py", |
- "[CWD]/src/tools/swarming_client", |
+ "[SLAVE_BUILD]/src/tools/swarming_client", |
"batcharchive", |
"--dump-json", |
"/path/to/tmp/json", |
"--isolate-server", |
"https://isolateserver-dev.appspot.com", |
"--verbose", |
- "[CWD]/src/out/Debug/dummy_target_1.isolated.gen.json", |
- "[CWD]/src/out/Debug/dummy_target_2.isolated.gen.json" |
+ "[SLAVE_BUILD]/src/out/Debug/dummy_target_1.isolated.gen.json", |
+ "[SLAVE_BUILD]/src/out/Debug/dummy_target_2.isolated.gen.json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"SWARMING_PROFILE": "1" |
}, |
@@ -232,7 +242,7 @@ |
"cmd": [ |
"python", |
"-u", |
- "[CWD]/src/tools/swarming_client/swarming.py", |
+ "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py", |
"trigger", |
"--swarming", |
"https://chromium-swarm-dev.appspot.com", |
@@ -290,6 +300,7 @@ |
"--", |
"--test-launcher-summary-output=${ISOLATED_OUTDIR}/output.json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "[trigger] dummy_target_1 on Mac", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
@@ -316,7 +327,7 @@ |
"cmd": [ |
"python", |
"-u", |
- "[CWD]/src/tools/swarming_client/swarming.py", |
+ "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py", |
"trigger", |
"--swarming", |
"https://chromium-swarm-dev.appspot.com", |
@@ -374,6 +385,7 @@ |
"--", |
"--test-launcher-summary-output=${ISOLATED_OUTDIR}/output.json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "[trigger] dummy_target_2 on Mac", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
@@ -405,9 +417,9 @@ |
"python", |
"RECIPE_MODULE[build::swarming]/resources/collect_gtest_task.py", |
"--swarming-client-dir", |
- "[CWD]/src/tools/swarming_client", |
+ "[SLAVE_BUILD]/src/tools/swarming_client", |
"--temp-root-dir", |
- "[TMP]", |
+ "[TMP_BASE]", |
"--merged-test-output", |
"/path/to/tmp/json", |
"--", |
@@ -421,6 +433,7 @@ |
"2", |
"dummy_target_1/Mac/[dummy has/TestBuilder/571" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "dummy_target_1 on Mac", |
"~followup_annotations": [ |
"@@@STEP_LINK@shard #0 isolated out@blah@@@" |
@@ -446,6 +459,7 @@ |
"--chrome-revision", |
"0" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "Upload to test-results [dummy_target_1]" |
}, |
{ |
@@ -457,9 +471,9 @@ |
"python", |
"RECIPE_MODULE[build::swarming]/resources/collect_gtest_task.py", |
"--swarming-client-dir", |
- "[CWD]/src/tools/swarming_client", |
+ "[SLAVE_BUILD]/src/tools/swarming_client", |
"--temp-root-dir", |
- "[TMP]", |
+ "[TMP_BASE]", |
"--merged-test-output", |
"/path/to/tmp/json", |
"--", |
@@ -473,6 +487,7 @@ |
"2", |
"dummy_target_2/Mac/[dummy has/TestBuilder/571" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "dummy_target_2 on Mac", |
"~followup_annotations": [ |
"@@@STEP_LINK@shard #0 isolated out@blah@@@" |
@@ -498,6 +513,7 @@ |
"--chrome-revision", |
"0" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "Upload to test-results [dummy_target_2]" |
}, |
{ |