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 from buildbot.schedulers.basic import SingleBranchScheduler | 5 from buildbot.schedulers.basic import SingleBranchScheduler |
6 | 6 |
7 from master.factory import annotator_factory | 7 from master.factory import annotator_factory |
8 | 8 |
9 m_annotator = annotator_factory.AnnotatorFactory() | 9 m_annotator = annotator_factory.AnnotatorFactory() |
10 | 10 |
11 def Update(c): | 11 def Update(c): |
12 c['schedulers'].extend([ | 12 c['schedulers'].extend([ |
13 SingleBranchScheduler(name='webrtc_linux_scheduler', | 13 SingleBranchScheduler(name='webrtc_linux_scheduler', |
14 branch='trunk', | 14 branch='trunk', |
15 treeStableTimer=0, | 15 treeStableTimer=0, |
16 builderNames=[ | 16 builderNames=['Linux LSan (and ASan)']), |
17 'Linux TsanRV', | |
18 'Linux LSan (and ASan)', | |
19 ]), | |
20 ]) | 17 ]) |
21 | 18 |
22 specs = [ | 19 specs = [ |
23 {'name': 'Linux TsanRV', 'slavebuilddir': 'linux_tsanrv'}, | |
24 {'name': 'Linux LSan (and ASan)', 'slavebuilddir': 'linux_lsan_asan'}, | 20 {'name': 'Linux LSan (and ASan)', 'slavebuilddir': 'linux_lsan_asan'}, |
25 ] | 21 ] |
26 | 22 |
27 c['builders'].extend([ | 23 c['builders'].extend([ |
28 { | 24 { |
29 'name': spec['name'], | 25 'name': spec['name'], |
30 'factory': m_annotator.BaseFactory('webrtc/standalone'), | 26 'factory': m_annotator.BaseFactory('webrtc/standalone'), |
31 'notify_on_missing': True, | 27 'notify_on_missing': True, |
32 'category': 'linux', | 28 'category': 'linux', |
33 'slavebuilddir': spec['slavebuilddir'], | 29 'slavebuilddir': spec['slavebuilddir'], |
34 } for spec in specs | 30 } for spec in specs |
35 ]) | 31 ]) |
OLD | NEW |