| 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 master import master_config | 5 from master import master_config |
| 6 from master.factory import webrtc_factory | 6 from master.factory import webrtc_factory |
| 7 | 7 |
| 8 defaults = {} | 8 defaults = {} |
| 9 | 9 |
| 10 | 10 |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 options=options, | 96 options=options, |
| 97 tests=tests, | 97 tests=tests, |
| 98 factory_properties={ | 98 factory_properties={ |
| 99 'sharded_tests': tests, | 99 'sharded_tests': tests, |
| 100 'force_isolated': True, | 100 'force_isolated': True, |
| 101 })) | 101 })) |
| 102 | 102 |
| 103 B('Linux Clang', 'linux_clang_factory', 'compile|testers', scheduler) | 103 B('Linux Clang', 'linux_clang_factory', 'compile|testers', scheduler) |
| 104 F('linux_clang_factory', linux().WebRTCFactory( | 104 F('linux_clang_factory', linux().WebRTCFactory( |
| 105 target='Debug', | 105 target='Debug', |
| 106 options=options, | 106 options=['--compiler=goma-clang'], |
| 107 tests=tests, | 107 tests=tests, |
| 108 factory_properties={ | 108 factory_properties={ |
| 109 'sharded_tests': tests, | 109 'sharded_tests': tests, |
| 110 'force_isolated': True, | 110 'force_isolated': True, |
| 111 'gclient_env': {'GYP_DEFINES': 'clang=1'}, | 111 'gclient_env': {'GYP_DEFINES': 'clang=1'}, |
| 112 })) | 112 })) |
| 113 | 113 |
| 114 B('Linux Memcheck', 'linux_memcheck_factory', 'compile', scheduler) | 114 B('Linux Memcheck', 'linux_memcheck_factory', 'compile', scheduler) |
| 115 F('linux_memcheck_factory', linux().WebRTCFactory( | 115 F('linux_memcheck_factory', linux().WebRTCFactory( |
| 116 target='Release', | 116 target='Release', |
| 117 options=options, | 117 options=options, |
| 118 tests=['memcheck_' + test for test in tests], | 118 tests=['memcheck_' + test for test in tests], |
| 119 factory_properties={ | 119 factory_properties={ |
| 120 'needs_valgrind': True, | 120 'needs_valgrind': True, |
| 121 'gclient_env': {'GYP_DEFINES': 'build_for_tool=memcheck'}, | 121 'gclient_env': {'GYP_DEFINES': 'build_for_tool=memcheck'}, |
| 122 })) | 122 })) |
| 123 | 123 |
| 124 B('Linux Tsan', 'linux_tsan_factory', 'compile', scheduler) | 124 B('Linux Tsan', 'linux_tsan_factory', 'compile', scheduler) |
| 125 F('linux_tsan_factory', linux().WebRTCFactory( | 125 F('linux_tsan_factory', linux().WebRTCFactory( |
| 126 target='Release', | 126 target='Release', |
| 127 options=options, | 127 options=options, |
| 128 tests=['tsan_' + test for test in tests], | 128 tests=['tsan_' + test for test in tests], |
| 129 factory_properties={ | 129 factory_properties={ |
| 130 'needs_valgrind': True, | 130 'needs_valgrind': True, |
| 131 'gclient_env': {'GYP_DEFINES': 'build_for_tool=memcheck'}, | 131 'gclient_env': {'GYP_DEFINES': 'build_for_tool=memcheck'}, |
| 132 })) | 132 })) |
| 133 | 133 |
| 134 B('Linux Tsan v2', 'linux_tsan2_factory', 'compile', scheduler) |
| 135 F('linux_tsan2_factory', linux().WebRTCFactory( |
| 136 target='Release', |
| 137 tests=tests, |
| 138 options=['--compiler=goma-clang'], |
| 139 factory_properties={ |
| 140 'tsan': True, |
| 141 'tsan_suppressions_file': |
| 142 'src/tools/valgrind-webrtc/tsan_v2/suppressions.txt', |
| 143 'gclient_env': { |
| 144 'GYP_DEFINES': 'tsan=1 use_allocator=none release_extra_cflags=-g', |
| 145 }})) |
| 146 |
| 134 B('Linux Asan', 'linux_asan_factory', 'compile|testers', scheduler) | 147 B('Linux Asan', 'linux_asan_factory', 'compile|testers', scheduler) |
| 135 F('linux_asan_factory', linux().WebRTCFactory( | 148 F('linux_asan_factory', linux().WebRTCFactory( |
| 136 target='Release', | 149 target='Release', |
| 137 options=['--compiler=goma-clang'], | 150 options=['--compiler=goma-clang'], |
| 138 tests=tests, | 151 tests=tests, |
| 139 factory_properties={ | 152 factory_properties={ |
| 140 'asan': True, | 153 'asan': True, |
| 141 'sharded_tests': tests, | 154 'sharded_tests': tests, |
| 142 'force_isolated': True, | 155 'force_isolated': True, |
| 143 'gclient_env': { | 156 'gclient_env': { |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 target='Debug', | 189 target='Debug', |
| 177 options=options, | 190 options=options, |
| 178 tests=tests, | 191 tests=tests, |
| 179 factory_properties={ | 192 factory_properties={ |
| 180 'gclient_env': {'GYP_DEFINES': 'chromeos=1'}, | 193 'gclient_env': {'GYP_DEFINES': 'chromeos=1'}, |
| 181 })) | 194 })) |
| 182 | 195 |
| 183 | 196 |
| 184 def Update(c): | 197 def Update(c): |
| 185 helper.Update(c) | 198 helper.Update(c) |
| OLD | NEW |