| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 """ | 5 """ |
| 6 This recipe can be used by components like v8 to verify blink tests with a | 6 This recipe can be used by components like v8 to verify blink tests with a |
| 7 low false positive rate. Similar to a trybot, this recipe compares test | 7 low false positive rate. Similar to a trybot, this recipe compares test |
| 8 failures from a build with a current component revision with test failures | 8 failures from a build with a current component revision with test failures |
| 9 from a build with a pinned component revision. | 9 from a build with a pinned component revision. |
| 10 | 10 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 caller_api.test_utils._summarize_retried_test(caller_api, t) | 107 caller_api.test_utils._summarize_retried_test(caller_api, t) |
| 108 | 108 |
| 109 | 109 |
| 110 def RunSteps(api): | 110 def RunSteps(api): |
| 111 mastername = api.properties.get('mastername') | 111 mastername = api.properties.get('mastername') |
| 112 buildername = api.properties.get('buildername') | 112 buildername = api.properties.get('buildername') |
| 113 master_dict = BUILDERS.get(mastername, {}) | 113 master_dict = BUILDERS.get(mastername, {}) |
| 114 bot_config = master_dict.get('builders', {}).get(buildername) | 114 bot_config = master_dict.get('builders', {}).get(buildername) |
| 115 | 115 |
| 116 # Sync chromium to HEAD. | 116 # Sync chromium to HEAD. |
| 117 api.gclient.set_config('chromium') | 117 api.gclient.set_config('chromium', GIT_MODE=True) |
| 118 api.gclient.c.revisions['src'] = 'HEAD' | 118 api.gclient.c.revisions['src'] = 'HEAD' |
| 119 api.chromium.set_config('blink', | 119 api.chromium.set_config('blink', |
| 120 **bot_config.get('chromium_config_kwargs', {})) | 120 **bot_config.get('chromium_config_kwargs', {})) |
| 121 | 121 |
| 122 for c in bot_config.get('gclient_apply_config', []): | 122 for c in bot_config.get('gclient_apply_config', []): |
| 123 api.gclient.apply_config(c) | 123 api.gclient.apply_config(c) |
| 124 for c in bot_config.get('chromium_apply_config', []): | 124 for c in bot_config.get('chromium_apply_config', []): |
| 125 api.chromium.apply_config(c) | 125 api.chromium.apply_config(c) |
| 126 | 126 |
| 127 # Sync component to current component revision. | 127 # Sync component to current component revision. |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 # and compare the lists of failing tests). | 268 # and compare the lists of failing tests). |
| 269 yield ( | 269 yield ( |
| 270 api.test('too_many_failures_for_retcode') + | 270 api.test('too_many_failures_for_retcode') + |
| 271 properties('client.v8.fyi', 'V8-Blink Linux 64') + | 271 properties('client.v8.fyi', 'V8-Blink Linux 64') + |
| 272 api.override_step_data(with_patch, | 272 api.override_step_data(with_patch, |
| 273 canned_test(passing=False, | 273 canned_test(passing=False, |
| 274 num_additional_failures=125)) + | 274 num_additional_failures=125)) + |
| 275 api.override_step_data(without_patch, | 275 api.override_step_data(without_patch, |
| 276 canned_test(passing=True, minimal=True)) | 276 canned_test(passing=True, minimal=True)) |
| 277 ) | 277 ) |
| OLD | NEW |