Index: scripts/slave/recipes/chromium.expected/dynamic_gtest_win.json |
diff --git a/scripts/slave/recipes/chromium.expected/dynamic_gtest_win.json b/scripts/slave/recipes/chromium.expected/dynamic_gtest_win.json |
index e6dff597bebb159f40da2c1d9541125f66d72d9b..be7737f04e5efd5dc386ae6dafdae261c90f2f0b 100644 |
--- a/scripts/slave/recipes/chromium.expected/dynamic_gtest_win.json |
+++ b/scripts/slave/recipes/chromium.expected/dynamic_gtest_win.json |
@@ -174,6 +174,22 @@ |
"cmd": [ |
"python", |
"-u", |
+ "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10)\n" |
+ ], |
+ "name": "ensure_goma.get the number of cpus", |
+ "stdout": "/path/to/tmp/", |
+ "~followup_annotations": [ |
+ "@@@STEP_NEST_LEVEL@1@@@", |
+ "@@@STEP_LOG_LINE@python.inline@@@@", |
+ "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
+ "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@", |
+ "@@@STEP_LOG_END@python.inline@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
"[SLAVE_BUILD]\\src\\tools\\swarming_client\\swarming.py", |
"--version" |
], |