| 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 . import steps | 5 from . import steps |
| 6 | 6 |
| 7 SPEC = { | 7 SPEC = { |
| 8 'settings': { | 8 'settings': { |
| 9 'build_gs_bucket': 'chromium-memory-fyi-archive', | 9 'build_gs_bucket': 'chromium-memory-fyi-archive', |
| 10 }, | 10 }, |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 steps.generate_gtest, | 103 steps.generate_gtest, |
| 104 steps.generate_script, | 104 steps.generate_script, |
| 105 steps.generate_isolated_script, | 105 steps.generate_isolated_script, |
| 106 ], | 106 ], |
| 107 'parent_buildername': 'Chromium Linux TSan Builder', | 107 'parent_buildername': 'Chromium Linux TSan Builder', |
| 108 'testing': { | 108 'testing': { |
| 109 'platform': 'linux', | 109 'platform': 'linux', |
| 110 }, | 110 }, |
| 111 'enable_swarming': True, | 111 'enable_swarming': True, |
| 112 }, | 112 }, |
| 113 'Chromium Linux Builder (valgrind)': { | |
| 114 'compile_targets': [ | |
| 115 'base_unittests', | |
| 116 'components_unittests', | |
| 117 'content_unittests', | |
| 118 'crypto_unittests', | |
| 119 'device_unittests', | |
| 120 'display_unittests', | |
| 121 'extensions_unittests', | |
| 122 'gcm_unit_tests', | |
| 123 'gpu_unittests', | |
| 124 'ipc_tests', | |
| 125 'jingle_unittests', | |
| 126 'media_unittests', | |
| 127 'midi_unittests', | |
| 128 'net_unittests', | |
| 129 'ppapi_unittests', | |
| 130 'printing_unittests', | |
| 131 'remoting_unittests', | |
| 132 'sandbox_linux_unittests', | |
| 133 'sql_unittests', | |
| 134 'sync_unit_tests', | |
| 135 'ui_base_unittests', | |
| 136 'unit_tests', | |
| 137 'url_unittests', | |
| 138 ], | |
| 139 'chromium_config': 'chromium', | |
| 140 'gclient_config': 'chromium', | |
| 141 'chromium_apply_config': ['mb', 'memcheck'], | |
| 142 'chromium_config_kwargs': { | |
| 143 'BUILD_CONFIG': 'Release', | |
| 144 'TARGET_BITS': 64, | |
| 145 }, | |
| 146 'bot_type': 'builder', | |
| 147 'testing': { | |
| 148 'platform': 'linux', | |
| 149 }, | |
| 150 }, | |
| 151 }, | 113 }, |
| 152 } | 114 } |
| 153 | |
| 154 def BaseSpec(bot_type, chromium_apply_config, gclient_apply_config): | |
| 155 spec = { | |
| 156 'bot_type': bot_type, | |
| 157 'chromium_apply_config' : chromium_apply_config, | |
| 158 'chromium_config': 'chromium', | |
| 159 'chromium_config_kwargs': { | |
| 160 'BUILD_CONFIG': 'Release', | |
| 161 'TARGET_BITS': 64, | |
| 162 }, | |
| 163 'gclient_config': 'chromium', | |
| 164 'gclient_apply_config': gclient_apply_config, | |
| 165 'testing': { | |
| 166 'platform': 'linux', | |
| 167 }, | |
| 168 } | |
| 169 return spec | |
| 170 | |
| 171 def TestSpec(parent_builder): | |
| 172 spec = BaseSpec( | |
| 173 bot_type='tester', | |
| 174 chromium_apply_config=['mb'], | |
| 175 gclient_apply_config=['valgrind']) | |
| 176 | |
| 177 spec['parent_buildername'] = parent_builder | |
| 178 spec['test_generators'] = [ | |
| 179 steps.generate_gtest, | |
| 180 steps.generate_script, | |
| 181 steps.generate_isolated_script, | |
| 182 ] | |
| 183 return spec | |
| 184 | |
| 185 def AddMemTestSpec(name, tool): | |
| 186 if tool == 'valgrind': | |
| 187 SPEC['builders'][name] = TestSpec('Chromium Linux Builder (valgrind)') | |
| 188 | |
| 189 AddMemTestSpec('Linux Tests (valgrind)(1)', 'valgrind') | |
| 190 AddMemTestSpec('Linux Tests (valgrind)(2)', 'valgrind') | |
| 191 AddMemTestSpec('Linux Tests (valgrind)(3)', 'valgrind') | |
| 192 AddMemTestSpec('Linux Tests (valgrind)(4)', 'valgrind') | |
| 193 AddMemTestSpec('Linux Tests (valgrind)(5)', 'valgrind') | |
| OLD | NEW |