| Index: scripts/slave/recipes/emulator.expected/Android_Tests__x86_emulator__test_fail.json
|
| diff --git a/scripts/slave/recipes/emulator.expected/Android_Tests__x86_emulator__test_fail.json b/scripts/slave/recipes/emulator.expected/Android_Tests__x86_emulator__test_fail.json
|
| index e8231c0069f21fc672e641b8d3bd763a5875e59d..74574c8360ca85d90f09b33b5a483eefc3c44d28 100644
|
| --- a/scripts/slave/recipes/emulator.expected/Android_Tests__x86_emulator__test_fail.json
|
| +++ b/scripts/slave/recipes/emulator.expected/Android_Tests__x86_emulator__test_fail.json
|
| @@ -222,33 +222,6 @@
|
| "name": "generate_build_files"
|
| },
|
| {
|
| - "cmd": [
|
| - "python",
|
| - "-u",
|
| - "\nimport multiprocessing\nimport sys\n\njob_limit = 200\nif sys.platform.startswith('linux'):\n # Use 80 for linux not to load goma backend.\n job_limit = 80\n\ntry:\n jobs = min(job_limit, multiprocessing.cpu_count() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
|
| - ],
|
| - "name": "calculate the number of recommended jobs",
|
| - "stdout": "/path/to/tmp/",
|
| - "~followup_annotations": [
|
| - "@@@STEP_LOG_LINE@python.inline@@@@",
|
| - "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
|
| - "@@@STEP_LOG_LINE@python.inline@import sys@@@",
|
| - "@@@STEP_LOG_LINE@python.inline@@@@",
|
| - "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
|
| - "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
|
| - "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma backend.@@@",
|
| - "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
|
| - "@@@STEP_LOG_LINE@python.inline@@@@",
|
| - "@@@STEP_LOG_LINE@python.inline@try:@@@",
|
| - "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, 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": [],
|
| "name": "preprocess_for_goma"
|
| },
|
| @@ -292,13 +265,40 @@
|
| },
|
| {
|
| "cmd": [
|
| + "python",
|
| + "-u",
|
| + "\nimport multiprocessing\nimport sys\n\njob_limit = 200\nif sys.platform.startswith('linux'):\n # Use 80 for linux not to load goma backend.\n job_limit = 80\n\ntry:\n jobs = min(job_limit, multiprocessing.cpu_count() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
|
| + ],
|
| + "name": "calculate the number of recommended jobs",
|
| + "stdout": "/path/to/tmp/",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@python.inline@@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@import sys@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma backend.@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@try:@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, 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": [
|
| "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
|
| + "-j",
|
| + "50",
|
| "-w",
|
| "dupbuild=err",
|
| "-C",
|
| "[SLAVE_BUILD]/src/out/Debug",
|
| - "-j",
|
| - "50",
|
| "android_webview_unittests_apk",
|
| "base_unittests_apk",
|
| "cc_unittests_apk",
|
| @@ -380,7 +380,7 @@
|
| "--ninja-log-compiler",
|
| "goma",
|
| "--ninja-log-command",
|
| - "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[SLAVE_BUILD]/src/out/Debug', '-j', 50, 'android_webview_unittests_apk', 'base_unittests_apk', 'cc_unittests_apk', 'components_unittests_apk', 'events_unittests_apk', 'gl_tests_apk', 'ipc_tests_apk', 'skia_unittests_apk', 'sql_unittests_apk', 'ui_android_unittests_apk', 'ui_touch_selection_unittests_apk']",
|
| + "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err', '-C', '[SLAVE_BUILD]/src/out/Debug', 'android_webview_unittests_apk', 'base_unittests_apk', 'cc_unittests_apk', 'components_unittests_apk', 'events_unittests_apk', 'gl_tests_apk', 'ipc_tests_apk', 'skia_unittests_apk', 'sql_unittests_apk', 'ui_android_unittests_apk', 'ui_touch_selection_unittests_apk']",
|
| "--ninja-log-exit-status",
|
| "0",
|
| "--buildbot-buildername",
|
|
|