| 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 chromium_factory | 6 from master.factory import chromium_factory |
| 7 | 7 |
| 8 defaults = {} | 8 defaults = {} |
| 9 | 9 |
| 10 helper = master_config.Helper(defaults) | 10 helper = master_config.Helper(defaults) |
| 11 B = helper.Builder | 11 B = helper.Builder |
| 12 F = helper.Factory | 12 F = helper.Factory |
| 13 S = helper.Scheduler | 13 S = helper.Scheduler |
| 14 T = helper.Triggerable | 14 T = helper.Triggerable |
| 15 | 15 |
| 16 def linux(): | 16 def linux(): |
| 17 return chromium_factory.ChromiumFactory('src/out', 'linux2') | 17 return chromium_factory.ChromiumFactory('src/out', 'linux2') |
| 18 def linux_tester(): | 18 def linux_tester(): |
| 19 return chromium_factory.ChromiumFactory( | 19 return chromium_factory.ChromiumFactory( |
| 20 'src/out', 'linux2', nohooks_on_update=True) | 20 'src/out', 'linux2', nohooks_on_update=True) |
| 21 | 21 |
| 22 # Tests that are single-machine shard-safe. | 22 # Tests that are single-machine shard-safe. |
| 23 sharded_tests = [ | 23 sharded_tests = [ |
| 24 'aura_unittests', | 24 'aura_unittests', |
| 25 'base_unittests', | 25 'base_unittests', |
| 26 'browser_tests', | 26 'browser_tests', |
| 27 'cacheinvalidation_unittests', | 27 'cacheinvalidation_unittests', |
| 28 'cc_unittests', | 28 'cc_unittests', |
| 29 'chromedriver_tests', | 29 'chromedriver_tests', |
| 30 'chromedriver_unittests', |
| 30 'chromedriver2_unittests', | 31 'chromedriver2_unittests', |
| 31 'components_unittests', | 32 'components_unittests', |
| 32 'content_browsertests', | 33 'content_browsertests', |
| 33 'content_unittests', | 34 'content_unittests', |
| 34 'crypto_unittests', | 35 'crypto_unittests', |
| 35 'device_unittests', | 36 'device_unittests', |
| 36 'events_unittests', | 37 'events_unittests', |
| 37 'gpu_unittests', | 38 'gpu_unittests', |
| 38 'jingle_unittests', | 39 'jingle_unittests', |
| 39 'media_unittests', | 40 'media_unittests', |
| 40 'net_unittests', | 41 'net_unittests', |
| 41 'ppapi_unittests', | 42 'ppapi_unittests', |
| 42 'printing_unittests', | 43 'printing_unittests', |
| 43 'remoting_unittests', | 44 'remoting_unittests', |
| 44 'sync_integration_tests', | 45 'sync_integration_tests', |
| 45 'sync_unit_tests', | 46 'sync_unit_tests', |
| 46 'ui_unittests', | 47 'ui_unittests', |
| 47 'unit_tests', | 48 'unit_tests', |
| 48 'views_unittests', | 49 'views_unittests', |
| 49 'webkit_compositor_bindings_unittests', | 50 'webkit_compositor_bindings_unittests', |
| 50 ] | 51 ] |
| 51 | 52 |
| 52 # These are the common targets to most of the builders | 53 # These are the common targets to most of the builders |
| 53 linux_all_test_targets = [ | 54 linux_all_test_targets = [ |
| 54 'base_unittests', | 55 'base_unittests', |
| 55 'browser_tests', | 56 'browser_tests', |
| 56 'cacheinvalidation_unittests', | 57 'cacheinvalidation_unittests', |
| 57 'cc_unittests', | 58 'cc_unittests', |
| 58 'chrome', | 59 'chrome', |
| 60 'chromedriver_unittests', |
| 59 'chromedriver2_unittests', | 61 'chromedriver2_unittests', |
| 60 'components_unittests', | 62 'components_unittests', |
| 61 'content_browsertests', | 63 'content_browsertests', |
| 62 'content_unittests', | 64 'content_unittests', |
| 63 'crypto_unittests', | 65 'crypto_unittests', |
| 64 'dbus_unittests', | 66 'dbus_unittests', |
| 65 'device_unittests', | 67 'device_unittests', |
| 66 'google_apis_unittests', | 68 'google_apis_unittests', |
| 67 'gpu_unittests', | 69 'gpu_unittests', |
| 68 'interactive_ui_tests', | 70 'interactive_ui_tests', |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 'linux_rel_trigger', | 146 'linux_rel_trigger', |
| 145 notify_on_missing=True) | 147 notify_on_missing=True) |
| 146 F('rel_unit', linux_tester().ChromiumFactory( | 148 F('rel_unit', linux_tester().ChromiumFactory( |
| 147 slave_type='Tester', | 149 slave_type='Tester', |
| 148 build_url=rel_archive, | 150 build_url=rel_archive, |
| 149 tests=[ | 151 tests=[ |
| 150 'base_unittests', | 152 'base_unittests', |
| 151 'browser_tests', | 153 'browser_tests', |
| 152 'cacheinvalidation_unittests', | 154 'cacheinvalidation_unittests', |
| 153 'cc_unittests', | 155 'cc_unittests', |
| 156 'chromedriver_unittests', |
| 154 'chromedriver2_unittests', | 157 'chromedriver2_unittests', |
| 155 'components_unittests', | 158 'components_unittests', |
| 156 'content_browsertests', | 159 'content_browsertests', |
| 157 'content_unittests', | 160 'content_unittests', |
| 158 'crypto_unittests', | 161 'crypto_unittests', |
| 159 'dbus', | 162 'dbus', |
| 160 'device_unittests', | 163 'device_unittests', |
| 161 'google_apis_unittests', | 164 'google_apis_unittests', |
| 162 'googleurl', | 165 'googleurl', |
| 163 'gpu', | 166 'gpu', |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 F('rel_aura_unit', linux_tester().ChromiumFactory( | 226 F('rel_aura_unit', linux_tester().ChromiumFactory( |
| 224 slave_type='Tester', | 227 slave_type='Tester', |
| 225 build_url=rel_aura_archive, | 228 build_url=rel_aura_archive, |
| 226 tests=[ | 229 tests=[ |
| 227 'app_list_unittests', | 230 'app_list_unittests', |
| 228 'aura', | 231 'aura', |
| 229 'base_unittests', | 232 'base_unittests', |
| 230 'browser_tests', | 233 'browser_tests', |
| 231 'cacheinvalidation_unittests', | 234 'cacheinvalidation_unittests', |
| 232 'cc_unittests', | 235 'cc_unittests', |
| 236 'chromedriver_unittests', |
| 233 'chromedriver2_unittests', | 237 'chromedriver2_unittests', |
| 234 'components_unittests', | 238 'components_unittests', |
| 235 'compositor', | 239 'compositor', |
| 236 'content_browsertests', | 240 'content_browsertests', |
| 237 'content_unittests', | 241 'content_unittests', |
| 238 'crypto_unittests', | 242 'crypto_unittests', |
| 239 'dbus', | 243 'dbus', |
| 240 'device_unittests', | 244 'device_unittests', |
| 241 'events', | 245 'events', |
| 242 'google_apis_unittests', | 246 'google_apis_unittests', |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 scheduler='linux_dbg_32_trigger', | 331 scheduler='linux_dbg_32_trigger', |
| 328 notify_on_missing=True) | 332 notify_on_missing=True) |
| 329 F('dbg_unit_32_2', linux_tester().ChromiumFactory( | 333 F('dbg_unit_32_2', linux_tester().ChromiumFactory( |
| 330 slave_type='Tester', | 334 slave_type='Tester', |
| 331 build_url=dbg_32_archive, | 335 build_url=dbg_32_archive, |
| 332 target='Debug', | 336 target='Debug', |
| 333 tests=[ | 337 tests=[ |
| 334 'base_unittests', | 338 'base_unittests', |
| 335 'cacheinvalidation_unittests', | 339 'cacheinvalidation_unittests', |
| 336 'cc_unittests', | 340 'cc_unittests', |
| 341 'chromedriver_unittests', |
| 337 'chromedriver2_unittests', | 342 'chromedriver2_unittests', |
| 338 'components_unittests', | 343 'components_unittests', |
| 339 'content_unittests', | 344 'content_unittests', |
| 340 'crypto_unittests', | 345 'crypto_unittests', |
| 341 'dbus', | 346 'dbus', |
| 342 'device_unittests', | 347 'device_unittests', |
| 343 'googleurl', | 348 'googleurl', |
| 344 'gpu', | 349 'gpu', |
| 345 'interactive_ui_tests', | 350 'interactive_ui_tests', |
| 346 'ipc_tests', | 351 'ipc_tests', |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 scheduler='linux_dbg_trigger', | 401 scheduler='linux_dbg_trigger', |
| 397 notify_on_missing=True) | 402 notify_on_missing=True) |
| 398 F('dbg_unit_2', linux_tester().ChromiumFactory( | 403 F('dbg_unit_2', linux_tester().ChromiumFactory( |
| 399 slave_type='Tester', | 404 slave_type='Tester', |
| 400 build_url=dbg_archive, | 405 build_url=dbg_archive, |
| 401 target='Debug', | 406 target='Debug', |
| 402 tests=[ | 407 tests=[ |
| 403 'base_unittests', | 408 'base_unittests', |
| 404 'cacheinvalidation_unittests', | 409 'cacheinvalidation_unittests', |
| 405 'cc_unittests', | 410 'cc_unittests', |
| 411 'chromedriver_unittests', |
| 406 'chromedriver2_unittests', | 412 'chromedriver2_unittests', |
| 407 'components_unittests', | 413 'components_unittests', |
| 408 'content_unittests', | 414 'content_unittests', |
| 409 'crypto_unittests', | 415 'crypto_unittests', |
| 410 'dbus', | 416 'dbus', |
| 411 'device_unittests', | 417 'device_unittests', |
| 412 'google_apis_unittests', | 418 'google_apis_unittests', |
| 413 'googleurl', | 419 'googleurl', |
| 414 'gpu', | 420 'gpu', |
| 415 'interactive_ui_tests', | 421 'interactive_ui_tests', |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 factory_properties={ | 464 factory_properties={ |
| 459 'gclient_env': { | 465 'gclient_env': { |
| 460 'GYP_GENERATORS':'ninja', | 466 'GYP_GENERATORS':'ninja', |
| 461 'GYP_DEFINES': | 467 'GYP_DEFINES': |
| 462 'clang=1 clang_use_chrome_plugins=1 fastbuild=1 ' | 468 'clang=1 clang_use_chrome_plugins=1 fastbuild=1 ' |
| 463 'test_isolation_mode=noop', | 469 'test_isolation_mode=noop', |
| 464 }})) | 470 }})) |
| 465 | 471 |
| 466 def Update(_config, _active_master, c): | 472 def Update(_config, _active_master, c): |
| 467 return helper.Update(c) | 473 return helper.Update(c) |
| OLD | NEW |