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 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='libyuv_linux_scheduler', | 13 SingleBranchScheduler(name='libyuv_linux_scheduler', |
14 branch='master', | 14 branch='master', |
15 treeStableTimer=0, | 15 treeStableTimer=0, |
16 builderNames=[ | 16 builderNames=[ |
17 'Linux32 Debug', | 17 'Linux32 Debug', |
18 'Linux32 Release', | 18 'Linux32 Release', |
19 'Linux64 Debug', | 19 'Linux64 Debug', |
20 'Linux64 Release', | 20 'Linux64 Release', |
21 'Linux64 Debug (GN)', | 21 'Linux64 Debug (GN)', |
22 'Linux64 Release (GN)', | 22 'Linux64 Release (GN)', |
| 23 # TODO(kjellander): Add when trybot is green (crbug.com/625889). |
| 24 #'Linux GCC', |
23 'Linux Asan', | 25 'Linux Asan', |
24 'Linux Memcheck', | 26 'Linux Memcheck', |
25 'Linux MSan', | 27 'Linux MSan', |
26 'Linux Tsan v2', | 28 'Linux Tsan v2', |
27 'Linux UBSan', | 29 'Linux UBSan', |
28 'Linux UBSan vptr', | 30 'Linux UBSan vptr', |
29 ]), | 31 ]), |
30 ]) | 32 ]) |
31 | 33 |
32 specs = [ | 34 specs = [ |
33 {'name': 'Linux32 Debug', 'slavebuilddir': 'linux32'}, | 35 {'name': 'Linux32 Debug', 'slavebuilddir': 'linux32'}, |
34 {'name': 'Linux32 Release', 'slavebuilddir': 'linux32'}, | 36 {'name': 'Linux32 Release', 'slavebuilddir': 'linux32'}, |
35 {'name': 'Linux64 Debug', 'slavebuilddir': 'linux64'}, | 37 {'name': 'Linux64 Debug', 'slavebuilddir': 'linux64'}, |
36 {'name': 'Linux64 Release', 'slavebuilddir': 'linux64'}, | 38 {'name': 'Linux64 Release', 'slavebuilddir': 'linux64'}, |
37 {'name': 'Linux64 Debug (GN)', 'slavebuilddir': 'linux64_gn'}, | 39 {'name': 'Linux64 Debug (GN)', 'slavebuilddir': 'linux64_gn'}, |
38 {'name': 'Linux64 Release (GN)', 'slavebuilddir': 'linux64_gn'}, | 40 {'name': 'Linux64 Release (GN)', 'slavebuilddir': 'linux64_gn'}, |
| 41 # TODO(kjellander): Add when trybot is green (crbug.com/625889). |
| 42 #{'name': 'Linux GCC', 'slavebuilddir': 'linux_gcc'}, |
39 {'name': 'Linux Asan', 'slavebuilddir': 'linux_asan'}, | 43 {'name': 'Linux Asan', 'slavebuilddir': 'linux_asan'}, |
40 {'name': 'Linux Memcheck', 'slavebuilddir': 'linux_memcheck_tsan'}, | 44 {'name': 'Linux Memcheck', 'slavebuilddir': 'linux_memcheck_tsan'}, |
41 {'name': 'Linux MSan', 'slavebuilddir': 'linux_msan'}, | 45 {'name': 'Linux MSan', 'slavebuilddir': 'linux_msan'}, |
42 {'name': 'Linux Tsan v2', 'slavebuilddir': 'linux_tsan2'}, | 46 {'name': 'Linux Tsan v2', 'slavebuilddir': 'linux_tsan2'}, |
43 {'name': 'Linux UBSan', 'slavebuilddir': 'linux_ubsan'}, | 47 {'name': 'Linux UBSan', 'slavebuilddir': 'linux_ubsan'}, |
44 {'name': 'Linux UBSan vptr', 'slavebuilddir': 'linux_ubsan_vptr'}, | 48 {'name': 'Linux UBSan vptr', 'slavebuilddir': 'linux_ubsan_vptr'}, |
45 ] | 49 ] |
46 | 50 |
47 c['builders'].extend([ | 51 c['builders'].extend([ |
48 { | 52 { |
49 'name': spec['name'], | 53 'name': spec['name'], |
50 'factory': m_annotator.BaseFactory('libyuv/libyuv'), | 54 'factory': m_annotator.BaseFactory('libyuv/libyuv'), |
51 'notify_on_missing': True, | 55 'notify_on_missing': True, |
52 'category': 'linux', | 56 'category': 'linux', |
53 'slavebuilddir': spec['slavebuilddir'], | 57 'slavebuilddir': spec['slavebuilddir'], |
54 } for spec in specs | 58 } for spec in specs |
55 ]) | 59 ]) |
OLD | NEW |