Index: scripts/slave/recipe_modules/auto_bisect/example.expected/windows_x64_bisector.json |
diff --git a/scripts/slave/recipe_modules/auto_bisect/example.expected/windows_x64_bisector.json b/scripts/slave/recipe_modules/auto_bisect/example.expected/windows_x64_bisector.json |
index 17112fe894e22bca545dce26ccf3302149b5f49e..0d1f80d17352e2c64e5e53b93d08cc59060cfdb2 100644 |
--- a/scripts/slave/recipe_modules/auto_bisect/example.expected/windows_x64_bisector.json |
+++ b/scripts/slave/recipe_modules/auto_bisect/example.expected/windows_x64_bisector.json |
@@ -903,6 +903,28 @@ |
"cmd": [ |
"python", |
"-u", |
+ "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_count() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\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@@@@", |
+ "@@@STEP_LOG_LINE@python.inline@try:@@@", |
+ "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_count() * 10)@@@", |
+ "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
+ "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
+ "@@@STEP_LOG_LINE@python.inline@@@@", |
+ "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
+ "@@@STEP_LOG_END@python.inline@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
"RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
"runhooks" |
], |
@@ -1020,6 +1042,28 @@ |
] |
}, |
{ |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_count() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n" |
+ ], |
+ "name": "ensure_goma.get the number of cpus (2)", |
+ "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@@@@", |
+ "@@@STEP_LOG_LINE@python.inline@try:@@@", |
+ "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_count() * 10)@@@", |
+ "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
+ "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
+ "@@@STEP_LOG_LINE@python.inline@@@@", |
+ "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
+ "@@@STEP_LOG_END@python.inline@@@" |
+ ] |
+ }, |
+ { |
"allow_subannotations": true, |
"cmd": [ |
"python", |