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