| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 import re | 5 import re |
| 6 | 6 |
| 7 DEPS = [ | 7 DEPS = [ |
| 8 'archive', | 8 'archive', |
| 9 'chromium', | 9 'chromium', |
| 10 'gclient', | 10 'gclient', |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 branch=branch, | 97 branch=branch, |
| 98 parent_buildername=bot_config.get( | 98 parent_buildername=bot_config.get( |
| 99 'parent_buildername'), | 99 'parent_buildername'), |
| 100 revision='20123') + | 100 revision='20123') + |
| 101 api.platform(bot_config['testing']['platform'], | 101 api.platform(bot_config['testing']['platform'], |
| 102 v8_config_kwargs.get('TARGET_BITS', 64)) | 102 v8_config_kwargs.get('TARGET_BITS', 64)) |
| 103 ) | 103 ) |
| 104 | 104 |
| 105 if bot_config.get('parent_buildername'): | 105 if bot_config.get('parent_buildername'): |
| 106 test += api.properties(parent_got_revision='54321') | 106 test += api.properties(parent_got_revision='54321') |
| 107 # Add isolated-tests property from parent builder. |
| 108 parent = master_config['builders'][bot_config['parent_buildername']] |
| 109 isolated_tests = parent['testing'].get('isolated_tests') |
| 110 if isolated_tests: |
| 111 test += api.properties(isolated_tests=isolated_tests) |
| 107 | 112 |
| 108 if mastername.startswith('tryserver'): | 113 if mastername.startswith('tryserver'): |
| 109 test += (api.properties( | 114 test += (api.properties( |
| 110 revision='12345', | 115 revision='12345', |
| 111 patch_url='svn://svn-mirror.golo.chromium.org/patch')) | 116 patch_url='svn://svn-mirror.golo.chromium.org/patch')) |
| 112 | 117 |
| 113 yield test | 118 yield test |
| 114 | 119 |
| 115 yield ( | 120 yield ( |
| 116 api.test('branch_sync_failure') + | 121 api.test('branch_sync_failure') + |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 api.properties.generic(mastername=mastername, | 356 api.properties.generic(mastername=mastername, |
| 352 buildername=buildername, | 357 buildername=buildername, |
| 353 branch='master', | 358 branch='master', |
| 354 parent_buildername=bot_config.get( | 359 parent_buildername=bot_config.get( |
| 355 'parent_buildername')) + | 360 'parent_buildername')) + |
| 356 api.platform(bot_config['testing']['platform'], | 361 api.platform(bot_config['testing']['platform'], |
| 357 v8_config_kwargs.get('TARGET_BITS', 64)) + | 362 v8_config_kwargs.get('TARGET_BITS', 64)) + |
| 358 api.override_step_data('Mjsunit', api.v8.bisect_failures_example()) + | 363 api.override_step_data('Mjsunit', api.v8.bisect_failures_example()) + |
| 359 api.time.step(120) | 364 api.time.step(120) |
| 360 ) | 365 ) |
| OLD | NEW |