| 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.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=30, | 15 treeStableTimer=30, |
| 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 'Linux Asan', | 21 'Linux Asan', |
| 22 'Linux Memcheck', | 22 'Linux Memcheck', |
| 23 'Linux MSan', | 23 'Linux MSan', |
| 24 'Linux Tsan v2', | 24 'Linux Tsan v2', |
| 25 'Linux UBSan', | 25 'Linux UBSan', |
| 26 'Linux UBSan vptr', | 26 'Linux UBSan vptr', |
| 27 'Linux64 Release [large tests]', | 27 'Linux64 Release [large tests]', |
| 28 'Linux64 Debug (GN)', | 28 'Linux64 Debug (GN)', |
| 29 'Linux64 Release (GN)', | 29 'Linux64 Release (GN)', |
| 30 'Linux64 Release (Libfuzzer)', | |
| 31 ]), | 30 ]), |
| 32 ]) | 31 ]) |
| 33 | 32 |
| 34 # 'slavebuilddir' below is used to reduce the number of checkouts since some | 33 # 'slavebuilddir' below is used to reduce the number of checkouts since some |
| 35 # of the builders are pooled over multiple slave machines. | 34 # of the builders are pooled over multiple slave machines. |
| 36 specs = [ | 35 specs = [ |
| 37 {'name': 'Linux32 Debug', 'slavebuilddir': 'linux32'}, | 36 {'name': 'Linux32 Debug', 'slavebuilddir': 'linux32'}, |
| 38 {'name': 'Linux32 Release', 'slavebuilddir': 'linux32'}, | 37 {'name': 'Linux32 Release', 'slavebuilddir': 'linux32'}, |
| 39 {'name': 'Linux64 Debug', 'slavebuilddir': 'linux64'}, | 38 {'name': 'Linux64 Debug', 'slavebuilddir': 'linux64'}, |
| 40 {'name': 'Linux64 Release', 'slavebuilddir': 'linux64'}, | 39 {'name': 'Linux64 Release', 'slavebuilddir': 'linux64'}, |
| 41 {'name': 'Linux Asan', 'slavebuilddir': 'linux_asan'}, | 40 {'name': 'Linux Asan', 'slavebuilddir': 'linux_asan'}, |
| 42 {'name': 'Linux MSan', 'slavebuilddir': 'linux_msan'}, | 41 {'name': 'Linux MSan', 'slavebuilddir': 'linux_msan'}, |
| 43 {'name': 'Linux Memcheck', 'slavebuilddir': 'linux_memcheck_tsan'}, | 42 {'name': 'Linux Memcheck', 'slavebuilddir': 'linux_memcheck_tsan'}, |
| 44 {'name': 'Linux Tsan v2', 'slavebuilddir': 'linux_tsan2'}, | 43 {'name': 'Linux Tsan v2', 'slavebuilddir': 'linux_tsan2'}, |
| 45 {'name': 'Linux UBSan', 'slavebuilddir': 'linux_ubsan'}, | 44 {'name': 'Linux UBSan', 'slavebuilddir': 'linux_ubsan'}, |
| 46 {'name': 'Linux UBSan vptr', 'slavebuilddir': 'linux_ubsan_vptr'}, | 45 {'name': 'Linux UBSan vptr', 'slavebuilddir': 'linux_ubsan_vptr'}, |
| 47 { | 46 { |
| 48 'name': 'Linux64 Release [large tests]', | 47 'name': 'Linux64 Release [large tests]', |
| 49 'category': 'compile|baremetal', | 48 'category': 'compile|baremetal', |
| 50 'slavebuilddir': 'linux_baremetal', | 49 'slavebuilddir': 'linux_baremetal', |
| 51 }, | 50 }, |
| 52 {'name': 'Linux64 Debug (GN)', 'slavebuilddir': 'linux64_gn'}, | 51 {'name': 'Linux64 Debug (GN)', 'slavebuilddir': 'linux64_gn'}, |
| 53 {'name': 'Linux64 Release (GN)', 'slavebuilddir': 'linux64_gn'}, | 52 {'name': 'Linux64 Release (GN)', 'slavebuilddir': 'linux64_gn'}, |
| 54 { | |
| 55 'name': 'Linux64 Release (Libfuzzer)', | |
| 56 'recipe': 'webrtc/libfuzzer', | |
| 57 'slavebuilddir': 'linux64_libfuzzer', | |
| 58 }, | |
| 59 ] | 53 ] |
| 60 | 54 |
| 61 c['builders'].extend([ | 55 c['builders'].extend([ |
| 62 { | 56 { |
| 63 'name': spec['name'], | 57 'name': spec['name'], |
| 64 'factory': m_annotator.BaseFactory(spec.get('recipe', | 58 'factory': m_annotator.BaseFactory(spec.get('recipe', |
| 65 'webrtc/standalone')), | 59 'webrtc/standalone')), |
| 66 'notify_on_missing': True, | 60 'notify_on_missing': True, |
| 67 'category': spec.get('category', 'compile|testers'), | 61 'category': spec.get('category', 'compile|testers'), |
| 68 'slavebuilddir': spec['slavebuilddir'], | 62 'slavebuilddir': spec['slavebuilddir'], |
| 69 } for spec in specs | 63 } for spec in specs |
| 70 ]) | 64 ]) |
| OLD | NEW |