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 from master.factory import remote_run_factory | 8 from master.factory import remote_run_factory |
9 | 9 |
10 import master_site_config | 10 import master_site_config |
(...skipping 21 matching lines...) Expand all Loading... |
32 'Linux32 ARM', | 32 'Linux32 ARM', |
33 'Linux64 Debug', | 33 'Linux64 Debug', |
34 'Linux64 Release', | 34 'Linux64 Release', |
35 'Linux Asan', | 35 'Linux Asan', |
36 'Linux Memcheck', | 36 'Linux Memcheck', |
37 'Linux MSan', | 37 'Linux MSan', |
38 'Linux Tsan v2', | 38 'Linux Tsan v2', |
39 'Linux UBSan', | 39 'Linux UBSan', |
40 'Linux UBSan vptr', | 40 'Linux UBSan vptr', |
41 'Linux64 Release [large tests]', | 41 'Linux64 Release [large tests]', |
42 'Linux64 Debug (GN)', | 42 'Linux64 Debug (GYP)', |
43 'Linux64 Release (GN)', | 43 'Linux64 Release (GYP)', |
44 'Linux64 Release (Libfuzzer)', | 44 'Linux64 Release (Libfuzzer)', |
45 ]), | 45 ]), |
46 ]) | 46 ]) |
47 | 47 |
48 # 'slavebuilddir' below is used to reduce the number of checkouts since some | 48 # 'slavebuilddir' below is used to reduce the number of checkouts since some |
49 # of the builders are pooled over multiple slave machines. | 49 # of the builders are pooled over multiple slave machines. |
50 specs = [ | 50 specs = [ |
51 {'name': 'Linux32 ARM', 'slavebuilddir': 'linux_arm'}, | 51 {'name': 'Linux32 ARM', 'slavebuilddir': 'linux_arm'}, |
52 {'name': 'Linux64 Debug', 'slavebuilddir': 'linux64'}, | 52 {'name': 'Linux64 Debug', 'slavebuilddir': 'linux64'}, |
53 {'name': 'Linux64 Release', 'slavebuilddir': 'linux64'}, | 53 {'name': 'Linux64 Release', 'slavebuilddir': 'linux64'}, |
54 {'name': 'Linux Asan', 'slavebuilddir': 'linux_asan'}, | 54 {'name': 'Linux Asan', 'slavebuilddir': 'linux_asan'}, |
55 {'name': 'Linux MSan', 'slavebuilddir': 'linux_msan'}, | 55 {'name': 'Linux MSan', 'slavebuilddir': 'linux_msan'}, |
56 {'name': 'Linux Memcheck', 'slavebuilddir': 'linux_memcheck_tsan'}, | 56 {'name': 'Linux Memcheck', 'slavebuilddir': 'linux_memcheck_tsan'}, |
57 {'name': 'Linux Tsan v2', 'slavebuilddir': 'linux_tsan2'}, | 57 {'name': 'Linux Tsan v2', 'slavebuilddir': 'linux_tsan2'}, |
58 {'name': 'Linux UBSan', 'slavebuilddir': 'linux_ubsan'}, | 58 {'name': 'Linux UBSan', 'slavebuilddir': 'linux_ubsan'}, |
59 {'name': 'Linux UBSan vptr', 'slavebuilddir': 'linux_ubsan_vptr'}, | 59 {'name': 'Linux UBSan vptr', 'slavebuilddir': 'linux_ubsan_vptr'}, |
60 { | 60 { |
61 'name': 'Linux64 Release [large tests]', | 61 'name': 'Linux64 Release [large tests]', |
62 'category': 'compile|baremetal', | 62 'category': 'compile|baremetal', |
63 'slavebuilddir': 'linux_baremetal', | 63 'slavebuilddir': 'linux_baremetal', |
64 }, | 64 }, |
65 {'name': 'Linux64 Debug (GN)', 'slavebuilddir': 'linux64_gn'}, | 65 {'name': 'Linux64 Debug (GYP)', 'slavebuilddir': 'linux64_gyp'}, |
66 {'name': 'Linux64 Release (GN)', 'slavebuilddir': 'linux64_gn'}, | 66 {'name': 'Linux64 Release (GYP)', 'slavebuilddir': 'linux64_gyp'}, |
67 { | 67 { |
68 'name': 'Linux64 Release (Libfuzzer)', | 68 'name': 'Linux64 Release (Libfuzzer)', |
69 'recipe': 'webrtc/libfuzzer', | 69 'recipe': 'webrtc/libfuzzer', |
70 'slavebuilddir': 'linux64_libfuzzer', | 70 'slavebuilddir': 'linux64_libfuzzer', |
71 }, | 71 }, |
72 ] | 72 ] |
73 | 73 |
74 c['builders'].extend([ | 74 c['builders'].extend([ |
75 { | 75 { |
76 'name': spec['name'], | 76 'name': spec['name'], |
77 'factory': m_annotator.BaseFactory(spec['recipe']) | 77 'factory': m_annotator.BaseFactory(spec['recipe']) |
78 if 'recipe' in spec | 78 if 'recipe' in spec |
79 else m_remote_run('webrtc/standalone'), | 79 else m_remote_run('webrtc/standalone'), |
80 'notify_on_missing': True, | 80 'notify_on_missing': True, |
81 'category': spec.get('category', 'compile|testers'), | 81 'category': spec.get('category', 'compile|testers'), |
82 'slavebuilddir': spec['slavebuilddir'], | 82 'slavebuilddir': spec['slavebuilddir'], |
83 } for spec in specs | 83 } for spec in specs |
84 ]) | 84 ]) |
OLD | NEW |