Index: scripts/slave/recipes/swarming/deterministic_build.expected/full_chromium_swarm_IOS_deterministic_build.json |
diff --git a/scripts/slave/recipes/swarming/deterministic_build.expected/full_chromium_swarm_IOS_deterministic_build.json b/scripts/slave/recipes/swarming/deterministic_build.expected/full_chromium_swarm_IOS_deterministic_build.json |
index f30229c48fdcde2603abbb4bb0be4a2f9910693f..5b2984f185c041d8fd2f18fe7a0f260f5da13960 100644 |
--- a/scripts/slave/recipes/swarming/deterministic_build.expected/full_chromium_swarm_IOS_deterministic_build.json |
+++ b/scripts/slave/recipes/swarming/deterministic_build.expected/full_chromium_swarm_IOS_deterministic_build.json |
@@ -70,7 +70,7 @@ |
], |
"env": { |
"GYP_CROSSCOMPILE": "1", |
- "GYP_DEFINES": "OS=ios chromium_ios_signing=0 component=static_library dont_embed_build_metadata=1", |
+ "GYP_DEFINES": "OS=ios chromium_ios_signing=0 component=static_library dont_embed_build_metadata=1 test_isolation_mode=prepare", |
"GYP_GENERATORS": "ninja", |
"GYP_GENERATOR_FLAGS": "xcode_project_version=3.2" |
}, |
@@ -110,6 +110,39 @@ |
"cmd": [ |
"python", |
"-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/", |
+ "[SLAVE_BUILD]/src/out/Release/*.isolated.gen.json" |
+ ], |
+ "name": "find isolated targets" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[SLAVE_BUILD]/src/tools/swarming_client/isolate.py", |
+ "batcharchive", |
+ "--dump-json", |
+ "/path/to/tmp/json", |
+ "--isolate-server", |
+ "https://isolateserver.appspot.com", |
+ "[SLAVE_BUILD]/src/out/Release/dummy_target_1.isolated.gen.json", |
+ "[SLAVE_BUILD]/src/out/Release/dummy_target_2.isolated.gen.json" |
+ ], |
+ "name": "isolate tests", |
+ "~followup_annotations": [ |
+ "@@@STEP_LOG_LINE@json.output@{@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dummy_target_1]\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@}@@@", |
+ "@@@STEP_LOG_END@json.output@@@", |
+ "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
"\nimport os\nimport shutil\nimport sys\nif os.path.exists(sys.argv[2]):\n shutil.rmtree(sys.argv[2])\nshutil.move(sys.argv[1], sys.argv[2])", |
"[SLAVE_BUILD]/src/out/Release", |
"[SLAVE_BUILD]/src/out/Release.1" |