Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1127)

Unified Diff: scripts/slave/recipes/skia/ct_skps.expected/CT_BENCH_10k_SKPs.json

Issue 1689093004: [CT] Use zips of SKPs to speed up "isolate tests" in recipes (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build@master
Patch Set: Retrain expectations Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipes/skia/ct_skps.expected/CT_BENCH_10k_SKPs.json
diff --git a/scripts/slave/recipes/skia/ct_skps.expected/CT_BENCH_10k_SKPs.json b/scripts/slave/recipes/skia/ct_skps.expected/CT_BENCH_10k_SKPs.json
index 8a5d95f3b036e2e577bd92c52ba0741a33c4932a..802e9aa6a3fb73bda002ba5996e9406a020d4d4b 100644
--- a/scripts/slave/recipes/skia/ct_skps.expected/CT_BENCH_10k_SKPs.json
+++ b/scripts/slave/recipes/skia/ct_skps.expected/CT_BENCH_10k_SKPs.json
@@ -245,6 +245,16 @@
"cmd": [
"python",
"-u",
+ "RECIPE_MODULE[build::zip]/resources/zip.py"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "zip skps dir",
+ "stdin": "{\"entries\": [{\"path\": \"[SLAVE_BUILD]/skps/slave1\", \"type\": \"dir\"}], \"output\": \"[SLAVE_BUILD]/skps/slave1.zip\", \"root\": \"[SLAVE_BUILD]/skps/slave1\", \"use_python_zip\": false}"
+ },
+ {
+ "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]/swarming_temp_dir",
"511"
@@ -320,6 +330,16 @@
"cmd": [
"python",
"-u",
+ "RECIPE_MODULE[build::zip]/resources/zip.py"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "zip skps dir (2)",
+ "stdin": "{\"entries\": [{\"path\": \"[SLAVE_BUILD]/skps/slave2\", \"type\": \"dir\"}], \"output\": \"[SLAVE_BUILD]/skps/slave2.zip\", \"root\": \"[SLAVE_BUILD]/skps/slave2\", \"use_python_zip\": false}"
+ },
+ {
+ "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]/swarming_temp_dir",
"511"
@@ -395,6 +415,16 @@
"cmd": [
"python",
"-u",
+ "RECIPE_MODULE[build::zip]/resources/zip.py"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "zip skps dir (3)",
+ "stdin": "{\"entries\": [{\"path\": \"[SLAVE_BUILD]/skps/slave3\", \"type\": \"dir\"}], \"output\": \"[SLAVE_BUILD]/skps/slave3.zip\", \"root\": \"[SLAVE_BUILD]/skps/slave3\", \"use_python_zip\": false}"
+ },
+ {
+ "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]/swarming_temp_dir",
"511"
@@ -470,6 +500,16 @@
"cmd": [
"python",
"-u",
+ "RECIPE_MODULE[build::zip]/resources/zip.py"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "zip skps dir (4)",
+ "stdin": "{\"entries\": [{\"path\": \"[SLAVE_BUILD]/skps/slave4\", \"type\": \"dir\"}], \"output\": \"[SLAVE_BUILD]/skps/slave4.zip\", \"root\": \"[SLAVE_BUILD]/skps/slave4\", \"use_python_zip\": false}"
+ },
+ {
+ "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]/swarming_temp_dir",
"511"
@@ -545,6 +585,16 @@
"cmd": [
"python",
"-u",
+ "RECIPE_MODULE[build::zip]/resources/zip.py"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "zip skps dir (5)",
+ "stdin": "{\"entries\": [{\"path\": \"[SLAVE_BUILD]/skps/slave5\", \"type\": \"dir\"}], \"output\": \"[SLAVE_BUILD]/skps/slave5.zip\", \"root\": \"[SLAVE_BUILD]/skps/slave5\", \"use_python_zip\": false}"
+ },
+ {
+ "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]/swarming_temp_dir",
"511"

Powered by Google App Engine
This is Rietveld 408576698