| 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 slave_type='Trybot'): | 168 slave_type='Trybot'): |
| 169 """Generates and register a builder along with its slave(s).""" | 169 """Generates and register a builder along with its slave(s).""" |
| 170 if platform not in ('win32', 'win64', 'linux', 'mac', 'android', 'ios'): | 170 if platform not in ('win32', 'win64', 'linux', 'mac', 'android', 'ios'): |
| 171 raise Exception(platform + ' is not a known os type') | 171 raise Exception(platform + ' is not a known os type') |
| 172 assert tests is not None or annotation_script, ( | 172 assert tests is not None or annotation_script, ( |
| 173 'Must either specify tests or use an annotation script') | 173 'Must either specify tests or use an annotation script') |
| 174 | 174 |
| 175 factory_properties = (factory_properties or {}).copy() | 175 factory_properties = (factory_properties or {}).copy() |
| 176 run_default_swarm_tests = run_default_swarm_tests or [] | 176 run_default_swarm_tests = run_default_swarm_tests or [] |
| 177 | 177 |
| 178 # Make app_list_unittests an opt-in target for initial verification on non- | |
| 179 # ChromeOS platforms. TODO(tapted): Remove this when verified. | |
| 180 if platform in ('win32', 'win64', 'mac'): | |
| 181 platform_optional_tests = ['app_list_unittests'] | |
| 182 else: | |
| 183 platform_optional_tests = [] | |
| 184 | |
| 185 factory_properties.setdefault('non_default', [ | 178 factory_properties.setdefault('non_default', [ |
| 186 'check_licenses', | 179 'check_licenses', |
| 187 'chromedriver_tests', | 180 'chromedriver_tests', |
| 188 'courgette_unittests', | 181 'courgette_unittests', |
| 189 'sync_integration_tests', | 182 'sync_integration_tests', |
| 190 'url_unittests', | 183 'url_unittests', |
| 191 ] + platform_optional_tests) | 184 ]) |
| 192 | 185 |
| 193 factory_properties.setdefault('gclient_env', {}) | 186 factory_properties.setdefault('gclient_env', {}) |
| 194 factory_properties['gclient_env'].setdefault('GYP_DEFINES', '') | 187 factory_properties['gclient_env'].setdefault('GYP_DEFINES', '') |
| 195 factory_properties['gclient_env']['GYP_DEFINES'] += ' dcheck_always_on=1' | 188 factory_properties['gclient_env']['GYP_DEFINES'] += ' dcheck_always_on=1' |
| 196 if not 'fastbuild=0' in factory_properties['gclient_env']['GYP_DEFINES']: | 189 if not 'fastbuild=0' in factory_properties['gclient_env']['GYP_DEFINES']: |
| 197 factory_properties['gclient_env']['GYP_DEFINES'] += ' fastbuild=1' | 190 factory_properties['gclient_env']['GYP_DEFINES'] += ' fastbuild=1' |
| 198 if platform in ('win32', 'win64'): | 191 if platform in ('win32', 'win64'): |
| 199 # http://crbug.com/157234 | 192 # http://crbug.com/157234 |
| 200 factory_properties.setdefault('sharded_tests', win_sharded_tests) | 193 factory_properties.setdefault('sharded_tests', win_sharded_tests) |
| 201 else: | 194 else: |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 builder_name='linux_futura', | 389 builder_name='linux_futura', |
| 397 factory_properties={ | 390 factory_properties={ |
| 398 'gclient_env': { | 391 'gclient_env': { |
| 399 'GYP_DEFINES': 'use_aura=1', | 392 'GYP_DEFINES': 'use_aura=1', |
| 400 }, | 393 }, |
| 401 'window_manager': 'False' | 394 'window_manager': 'False' |
| 402 }, | 395 }, |
| 403 slavebuilddir='linux_aura') | 396 slavebuilddir='linux_aura') |
| 404 | 397 |
| 405 linux_aura_tests = [ | 398 linux_aura_tests = [ |
| 399 'app_list_unittests_br', |
| 406 'aura_br', | 400 'aura_br', |
| 407 'base_unittests_br', | 401 'base_unittests_br', |
| 408 'browser_tests_br', | 402 'browser_tests_br', |
| 409 'buildrunner_tests', | 403 'buildrunner_tests', |
| 410 'cacheinvalidation_br', | 404 'cacheinvalidation_br', |
| 411 'compositor_br', | 405 'compositor_br', |
| 412 'content_browsertests_br', | 406 'content_browsertests_br', |
| 413 'content_unittests_br', | 407 'content_unittests_br', |
| 414 'crypto_br', | 408 'crypto_br', |
| 415 'device_unittests_br', | 409 'device_unittests_br', |
| 416 'googleurl_br', | 410 'googleurl_br', |
| 417 'gpu_br', | 411 'gpu_br', |
| 418 'interactive_ui_tests_br', | 412 'interactive_ui_tests_br', |
| 419 'ipc_tests_br', | 413 'ipc_tests_br', |
| 420 'jingle_br', | 414 'jingle_br', |
| 421 'keyboard_unittests', | 415 'keyboard_unittests', |
| 422 'media_br', | 416 'media_br', |
| 423 'net_br', | 417 'net_br', |
| 424 'ppapi_unittests_br', | 418 'ppapi_unittests_br', |
| 425 'printing_br', | 419 'printing_br', |
| 426 'remoting_br', | 420 'remoting_br', |
| 427 'ui_unittests_br', | 421 'ui_unittests_br', |
| 428 'unit_sql_br', | 422 'unit_sql_br', |
| 429 'unit_sync_br', | 423 'unit_sync_br', |
| 430 'unit_unit_br', | 424 'unit_unit_br', |
| 431 'views_br', | 425 'views_br', |
| 432 ] | 426 ] |
| 433 | 427 |
| 434 linux_aura_options = [ | 428 linux_aura_options = [ |
| 429 'app_list_unittests', |
| 435 'aura_builder', | 430 'aura_builder', |
| 436 'base_unittests', | 431 'base_unittests', |
| 437 'browser_tests', | 432 'browser_tests', |
| 438 'cacheinvalidation_unittests', | 433 'cacheinvalidation_unittests', |
| 439 'compositor_unittests', | 434 'compositor_unittests', |
| 440 'content_browsertests', | 435 'content_browsertests', |
| 441 'content_unittests', | 436 'content_unittests', |
| 442 'crypto_unittests', | 437 'crypto_unittests', |
| 443 'gpu_unittests', | 438 'gpu_unittests', |
| 444 'interactive_ui_tests', | 439 'interactive_ui_tests', |
| (...skipping 1908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2353 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 2348 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
| 2354 | 2349 |
| 2355 # Buildbot master url: | 2350 # Buildbot master url: |
| 2356 if ActiveMaster.is_production_host: | 2351 if ActiveMaster.is_production_host: |
| 2357 c['buildbotURL'] = 'http://build.chromium.org/p/tryserver.chromium/' | 2352 c['buildbotURL'] = 'http://build.chromium.org/p/tryserver.chromium/' |
| 2358 else: | 2353 else: |
| 2359 c['buildbotURL'] = 'http://%s:%d/' % ( | 2354 c['buildbotURL'] = 'http://%s:%d/' % ( |
| 2360 socket.getfqdn(), ActiveMaster.master_port) | 2355 socket.getfqdn(), ActiveMaster.master_port) |
| 2361 | 2356 |
| 2362 # vi: set ts=4 sts=2 sw=2 et: | 2357 # vi: set ts=4 sts=2 sw=2 et: |
| OLD | NEW |