| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 from buildbot.scheduler import Triggerable | 5 from buildbot.scheduler import Triggerable |
| 6 from buildbot.scheduler import Scheduler | 6 from buildbot.scheduler import Scheduler |
| 7 | 7 |
| 8 from common import chromium_utils | 8 from common import chromium_utils |
| 9 | 9 |
| 10 # These modules come from scripts/master, which must be in the PYTHONPATH. | 10 # These modules come from scripts/master, which must be in the PYTHONPATH. |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 | 130 |
| 131 def m_remote_run(recipe, **kwargs): | 131 def m_remote_run(recipe, **kwargs): |
| 132 return remote_run_factory.RemoteRunFactory( | 132 return remote_run_factory.RemoteRunFactory( |
| 133 active_master=ActiveMaster, | 133 active_master=ActiveMaster, |
| 134 repository='https://chromium.googlesource.com/chromium/tools/build.git', | 134 repository='https://chromium.googlesource.com/chromium/tools/build.git', |
| 135 recipe=recipe, | 135 recipe=recipe, |
| 136 factory_properties={'path_config': 'kitchen'}, | 136 factory_properties={'path_config': 'kitchen'}, |
| 137 **kwargs) | 137 **kwargs) |
| 138 | 138 |
| 139 chromium_win_drmemory_archive = master_config.GetGSUtilUrl( | 139 chromium_win_drmemory_archive = master_config.GetGSUtilUrl( |
| 140 'chromium-memory-fyi', 'drm-cr') | 140 'chromium-memory-full', 'drm-cr') |
| 141 | 141 |
| 142 chromium_win_drmemory_64_archive = master_config.GetGSUtilUrl( | 142 chromium_win_drmemory_64_archive = master_config.GetGSUtilUrl( |
| 143 'chromium-memory-fyi', 'drm-cr-64') | 143 'chromium-memory-full', 'drm-cr-64') |
| 144 | 144 |
| 145 # IMPORTANT NOTE about adding new tests. | 145 # IMPORTANT NOTE about adding new tests. |
| 146 # If you want to add a new test, make sure it's: | 146 # If you want to add a new test, make sure it's: |
| 147 # a) buildable, | 147 # a) buildable, |
| 148 # b) runnable by all the tools, | 148 # b) runnable by all the tools, |
| 149 # c) green locally under all tools (at least mostly) and | 149 # c) green locally under all tools (at least mostly) and |
| 150 # d) the e-mail notifier is configured to watch for its failures. | 150 # d) the e-mail notifier is configured to watch for its failures. |
| 151 # [See details below] | 151 # [See details below] |
| 152 # | 152 # |
| 153 # Also, please do your best to estimate the time it takes to run the new test | 153 # Also, please do your best to estimate the time it takes to run the new test |
| (...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 727 # Adds common status and tools to this master. | 727 # Adds common status and tools to this master. |
| 728 master_utils.AutoSetupMaster(c, ActiveMaster, | 728 master_utils.AutoSetupMaster(c, ActiveMaster, |
| 729 public_html='../master.chromium/public_html', | 729 public_html='../master.chromium/public_html', |
| 730 templates=['../master.chromium/templates'], | 730 templates=['../master.chromium/templates'], |
| 731 tagComparator=master_poller.comparator, | 731 tagComparator=master_poller.comparator, |
| 732 enable_http_status_push=ActiveMaster.is_production_host) | 732 enable_http_status_push=ActiveMaster.is_production_host) |
| 733 | 733 |
| 734 if ActiveMaster.is_production_host: | 734 if ActiveMaster.is_production_host: |
| 735 import notifier_cfg | 735 import notifier_cfg |
| 736 notifier_cfg.Update(config, ActiveMaster, c) | 736 notifier_cfg.Update(config, ActiveMaster, c) |
| OLD | NEW |