Index: infra/bots/recipes/swarm_test.expected/missing_SKP_VERSION_device.json |
diff --git a/infra/bots/recipes/swarm_test.expected/missing_SKP_VERSION_device.json b/infra/bots/recipes/swarm_test.expected/missing_SKP_VERSION_device.json |
index 78196fcf6b11a14256da9f9f8dff32fd967e6bab..fa8ed7153c310774f45675827a218c0a88bf5384 100644 |
--- a/infra/bots/recipes/swarm_test.expected/missing_SKP_VERSION_device.json |
+++ b/infra/bots/recipes/swarm_test.expected/missing_SKP_VERSION_device.json |
@@ -370,6 +370,41 @@ |
"cmd": [ |
"python", |
"-u", |
+ "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
+ "[SLAVE_BUILD]/skia/infra/bots/assets/svg/VERSION", |
+ "/path/to/tmp/" |
+ ], |
+ "name": "Get downloaded SVG VERSION" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
+ "42", |
+ "[SLAVE_BUILD]/tmp/SVG_VERSION" |
+ ], |
+ "name": "write SVG_VERSION" |
+ }, |
+ { |
+ "cmd": [ |
+ "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", |
+ "shell", |
+ "cat", |
+ "/storage/emulated/legacy/skiabot/skia_tmp_dir/SVG_VERSION" |
+ ], |
+ "env": { |
+ "BUILDTYPE": "Debug", |
+ "CHROME_HEADLESS": "1", |
+ "SKIA_OUT": "[SLAVE_BUILD]/out" |
+ }, |
+ "name": "read SVG_VERSION", |
+ "stdout": "/path/to/tmp/" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
"\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.RemoveDirectory(sys.argv[1])\n", |
"[CUSTOM_[SWARM_OUT_DIR]]/dm" |
], |