| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 # READ THIS: | 7 # READ THIS: |
| 8 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure | 8 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure |
| 9 | 9 |
| 10 import socket | 10 import socket |
| (...skipping 1993 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2004 ) | 2004 ) |
| 2005 | 2005 |
| 2006 gpu_test_suite = [ | 2006 gpu_test_suite = [ |
| 2007 'content_gl_tests', | 2007 'content_gl_tests', |
| 2008 'gles2_conform_test', | 2008 'gles2_conform_test', |
| 2009 'gl_tests', | 2009 'gl_tests', |
| 2010 'gpu_content_tests', | 2010 'gpu_content_tests', |
| 2011 ] | 2011 ] |
| 2012 | 2012 |
| 2013 # GPU try bots | 2013 # GPU try bots |
| 2014 b_linux_gpu = CreateBuilder( | 2014 gpu_builders = [] |
| 2015 platform='linux', | 2015 for gpu_builder_name in ['linux_gpu', 'win_gpu', 'mac_gpu', 'mac_gpu_retina']: |
| 2016 target='Debug', | 2016 gpu_builders.append({ |
| 2017 options=['chromium_gpu_debug_builder'], | 2017 'name': gpu_builder_name, |
| 2018 tests=gpu_test_suite, | 2018 'factory': m_annotator.BaseFactory('gpu', { |
| 2019 goma=True, | |
| 2020 factory_properties={ | |
| 2021 'sharded_tests': [], | 2019 'sharded_tests': [], |
| 2022 'gclient_env': { | 2020 'build_config': 'Debug' |
| 2023 'GYP_DEFINES': 'internal_gles2_conform_tests=1', | 2021 }) |
| 2024 }, | 2022 }) |
| 2025 }, | |
| 2026 builder_name='linux_gpu') | |
| 2027 | |
| 2028 b_win_gpu = CreateBuilder( | |
| 2029 target='Debug', | |
| 2030 platform='win32', | |
| 2031 options=['chromium_gpu_debug_builder'], | |
| 2032 tests=gpu_test_suite, | |
| 2033 factory_properties={ | |
| 2034 'sharded_tests': [], | |
| 2035 'gclient_env': { | |
| 2036 'GYP_DEFINES': 'internal_gles2_conform_tests=1', | |
| 2037 }, | |
| 2038 }, | |
| 2039 builder_name='win_gpu') | |
| 2040 | |
| 2041 b_mac_gpu = CreateBuilder( | |
| 2042 platform='mac', | |
| 2043 target='Debug', | |
| 2044 options=[ | |
| 2045 'chromium_gpu_debug_builder', | |
| 2046 ], | |
| 2047 tests=gpu_test_suite, | |
| 2048 factory_properties={ | |
| 2049 'gclient_env': { | |
| 2050 'GYP_DEFINES': 'internal_gles2_conform_tests=1', | |
| 2051 }, | |
| 2052 }, | |
| 2053 builder_name='mac_gpu', | |
| 2054 goma=True, | |
| 2055 clang=True) | |
| 2056 | |
| 2057 b_mac_gpu_retina = CreateBuilder( | |
| 2058 platform='mac', | |
| 2059 target='Debug', | |
| 2060 options=[ | |
| 2061 'chromium_gpu_debug_builder', | |
| 2062 ], | |
| 2063 tests=gpu_test_suite, | |
| 2064 factory_properties={ | |
| 2065 'gclient_env': { | |
| 2066 'GYP_DEFINES': 'internal_gles2_conform_tests=1', | |
| 2067 }, | |
| 2068 }, | |
| 2069 builder_name='mac_gpu_retina', | |
| 2070 goma=True, | |
| 2071 clang=True) | |
| 2072 | 2023 |
| 2073 # NaCl SDK try bots | 2024 # NaCl SDK try bots |
| 2074 nacl_sdk_script = 'nacl_sdk_buildbot_run.py' | 2025 nacl_sdk_script = 'nacl_sdk_buildbot_run.py' |
| 2075 b_linux_nacl_sdk = CreateBuilder( | 2026 b_linux_nacl_sdk = CreateBuilder( |
| 2076 platform='linux', | 2027 platform='linux', |
| 2077 target='Release', | 2028 target='Release', |
| 2078 options=['chromium_builder_qa'], | 2029 options=['chromium_builder_qa'], |
| 2079 tests=['annotated_steps'], | 2030 tests=['annotated_steps'], |
| 2080 factory_properties={'annotated_script': nacl_sdk_script}, | 2031 factory_properties={'annotated_script': nacl_sdk_script}, |
| 2081 builder_name='linux_nacl_sdk', | 2032 builder_name='linux_nacl_sdk', |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2208 b_win_chrome_frame, | 2159 b_win_chrome_frame, |
| 2209 b_swarm, | 2160 b_swarm, |
| 2210 b_linux_chromeos_clang, | 2161 b_linux_chromeos_clang, |
| 2211 b_linux_futura, b_linux_aura, b_win7_aura, b_win8_aura, | 2162 b_linux_futura, b_linux_aura, b_win7_aura, b_win8_aura, |
| 2212 b_linux_asan, b_linux_browser_asan, b_linux_clang_tsan, | 2163 b_linux_asan, b_linux_browser_asan, b_linux_clang_tsan, |
| 2213 b_linux_chromeos_asan, | 2164 b_linux_chromeos_asan, |
| 2214 b_mac_asan, b_mac_xcodebuild, | 2165 b_mac_asan, b_mac_xcodebuild, |
| 2215 b_linux_heapcheck, | 2166 b_linux_heapcheck, |
| 2216 b_linux_redux, | 2167 b_linux_redux, |
| 2217 b_cros_pfq_x86, b_cros_pfq_amd64, b_cros_pfq_daisy, | 2168 b_cros_pfq_x86, b_cros_pfq_amd64, b_cros_pfq_daisy, |
| 2218 b_linux_gpu, b_win_gpu, b_mac_gpu, b_mac_gpu_retina, | |
| 2219 b_linux_nacl_sdk, b_win_nacl_sdk, b_mac_nacl_sdk, | 2169 b_linux_nacl_sdk, b_win_nacl_sdk, b_mac_nacl_sdk, |
| 2220 b_valgrind_mac_alt, b_mac_layout_alt, b_mac_layout_rel_alt, | 2170 b_valgrind_mac_alt, b_mac_layout_alt, b_mac_layout_rel_alt, |
| 2221 b_mac_nacl_sdk_alt, | 2171 b_mac_nacl_sdk_alt, |
| 2222 b_linux_perf_bisect, | 2172 b_linux_perf_bisect, |
| 2223 b_mac_perf_bisect, | 2173 b_mac_perf_bisect, |
| 2224 b_win_perf_bisect, | 2174 b_win_perf_bisect, |
| 2225 b_android_gn_perf_bisect, | 2175 b_android_gn_perf_bisect, |
| 2226 b_android_nexus4_perf_bisect, | 2176 b_android_nexus4_perf_bisect, |
| 2227 b_android_nexus10_perf_bisect, | 2177 b_android_nexus10_perf_bisect, |
| 2228 b_blink_bare_presubmit, b_blink_presubmit, b_chromium_presubmit, | 2178 b_blink_bare_presubmit, b_blink_presubmit, b_chromium_presubmit, |
| 2229 b_tools_presubmit, | 2179 b_tools_presubmit, |
| 2230 ] + blink_builders | 2180 ] + blink_builders + gpu_builders |
| 2231 | 2181 |
| 2232 | 2182 |
| 2233 # Slaves are loaded from slaves.cfg. | 2183 # Slaves are loaded from slaves.cfg. |
| 2234 slaves = slaves_list.SlavesList('slaves.cfg', 'TryServer') | 2184 slaves = slaves_list.SlavesList('slaves.cfg', 'TryServer') |
| 2235 | 2185 |
| 2236 for builder in c['builders']: | 2186 for builder in c['builders']: |
| 2237 # Associate the slaves to the builders. The configuration is in slaves.cfg. | 2187 # Associate the slaves to the builders. The configuration is in slaves.cfg. |
| 2238 builder['slavenames'] = slaves.GetSlavesName(builder=builder['name']) | 2188 builder['slavenames'] = slaves.GetSlavesName(builder=builder['name']) |
| 2239 # Don't enable auto_reboot for people testing locally. | 2189 # Don't enable auto_reboot for people testing locally. |
| 2240 builder.setdefault('auto_reboot', ActiveMaster.is_production_host) | 2190 builder.setdefault('auto_reboot', ActiveMaster.is_production_host) |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2388 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 2338 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
| 2389 | 2339 |
| 2390 # Buildbot master url: | 2340 # Buildbot master url: |
| 2391 if ActiveMaster.is_production_host: | 2341 if ActiveMaster.is_production_host: |
| 2392 c['buildbotURL'] = 'http://build.chromium.org/p/tryserver.chromium/' | 2342 c['buildbotURL'] = 'http://build.chromium.org/p/tryserver.chromium/' |
| 2393 else: | 2343 else: |
| 2394 c['buildbotURL'] = 'http://%s:%d/' % ( | 2344 c['buildbotURL'] = 'http://%s:%d/' % ( |
| 2395 socket.getfqdn(), ActiveMaster.master_port) | 2345 socket.getfqdn(), ActiveMaster.master_port) |
| 2396 | 2346 |
| 2397 # vi: set ts=4 sts=2 sw=2 et: | 2347 # vi: set ts=4 sts=2 sw=2 et: |
| OLD | NEW |