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='master', | 14 branch='master', |
15 treeStableTimer=0, | 15 treeStableTimer=0, |
16 builderNames=[ | 16 builderNames=[ |
17 'Linux Asan (parallel)', | 17 'Linux Asan (parallel)', |
18 'Linux Tsan v2 (with deadlock detection)', | |
19 ]), | 18 ]), |
20 ]) | 19 ]) |
21 | 20 |
22 specs = [ | 21 specs = [ |
23 { | 22 { |
24 'name': 'Linux Asan (parallel)', | 23 'name': 'Linux Asan (parallel)', |
25 'slavebuilddir': 'linux_asan', | 24 'slavebuilddir': 'linux_asan', |
26 }, | 25 }, |
27 { | |
28 'name': 'Linux Tsan v2 (with deadlock detection)', | |
29 'slavebuilddir': 'linux_tsan', | |
30 }, | |
31 ] | 26 ] |
32 | 27 |
33 c['builders'].extend([ | 28 c['builders'].extend([ |
34 { | 29 { |
35 'name': spec['name'], | 30 'name': spec['name'], |
36 'factory': m_annotator.BaseFactory('webrtc/standalone'), | 31 'factory': m_annotator.BaseFactory('webrtc/standalone'), |
37 'notify_on_missing': True, | 32 'notify_on_missing': True, |
38 'category': 'linux', | 33 'category': 'linux', |
39 'slavebuilddir': spec['slavebuilddir'], | 34 'slavebuilddir': spec['slavebuilddir'], |
40 'auto_reboot': False, | 35 'auto_reboot': False, |
41 } for spec in specs | 36 } for spec in specs |
42 ]) | 37 ]) |
OLD | NEW |