| 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 """Define the supported projects.""" | 4 """Define the supported projects.""" |
| 5 | 5 |
| 6 import json | 6 import json |
| 7 import logging | 7 import logging |
| 8 import os | 8 import os |
| 9 import re | 9 import re |
| 10 import sys | 10 import sys |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 'jingle_unittests', | 292 'jingle_unittests', |
| 293 'media_unittests', | 293 'media_unittests', |
| 294 'net_unittests', | 294 'net_unittests', |
| 295 'ppapi_unittests', | 295 'ppapi_unittests', |
| 296 'printing_unittests', | 296 'printing_unittests', |
| 297 'sql_unittests', | 297 'sql_unittests', |
| 298 'sync_unit_tests', | 298 'sync_unit_tests', |
| 299 'unit_tests', | 299 'unit_tests', |
| 300 #'webkit_unit_tests', | 300 #'webkit_unit_tests', |
| 301 ] | 301 ] |
| 302 # Use a smaller set of tests for *_aura, since there's a lot of overlap with | |
| 303 # the corresponding *_rel builders. | |
| 304 # Note: *_aura are Release builders even if their names convey otherwise. | |
| 305 linux_aura_tests = [ | |
| 306 'app_list_unittests', | |
| 307 'aura_unittests', | |
| 308 'browser_tests', | |
| 309 'compositor_unittests', | |
| 310 'content_browsertests', | |
| 311 'content_unittests', | |
| 312 'interactive_ui_tests', | |
| 313 'unit_tests', | |
| 314 ] | |
| 315 builders_and_tests = { | 302 builders_and_tests = { |
| 316 # TODO(maruel): Figure out a way to run 'sizes' where people can | 303 # TODO(maruel): Figure out a way to run 'sizes' where people can |
| 317 # effectively update the perf expectation correctly. This requires a | 304 # effectively update the perf expectation correctly. This requires a |
| 318 # clobber=True build running 'sizes'. 'sizes' is not accurate with | 305 # clobber=True build running 'sizes'. 'sizes' is not accurate with |
| 319 # incremental build. Reference: | 306 # incremental build. Reference: |
| 320 # http://chromium.org/developers/tree-sheriffs/perf-sheriffs. | 307 # http://chromium.org/developers/tree-sheriffs/perf-sheriffs. |
| 321 # TODO(maruel): An option would be to run 'sizes' but not count a failure | 308 # TODO(maruel): An option would be to run 'sizes' but not count a failure |
| 322 # of this step as a try job failure. | 309 # of this step as a try job failure. |
| 323 'android_dbg': ['slave_steps'], | 310 'android_dbg': ['slave_steps'], |
| 324 'android_clang_dbg': ['slave_steps'], | 311 'android_clang_dbg': ['slave_steps'], |
| 325 'android_aosp': ['compile'], | 312 'android_aosp': ['compile'], |
| 326 'ios_dbg_simulator': [ | 313 'ios_dbg_simulator': [ |
| 327 'compile', | 314 'compile', |
| 328 'base_unittests', | 315 'base_unittests', |
| 329 'content_unittests', | 316 'content_unittests', |
| 330 'crypto_unittests', | 317 'crypto_unittests', |
| 331 'url_unittests', | 318 'url_unittests', |
| 332 'net_unittests', | 319 'net_unittests', |
| 333 'sql_unittests', | 320 'sql_unittests', |
| 334 'ui_unittests', | 321 'ui_unittests', |
| 335 ], | 322 ], |
| 336 'ios_rel_device': ['compile'], | 323 'ios_rel_device': ['compile'], |
| 337 'linux_aura': linux_aura_tests, | |
| 338 'linux_clang': ['compile'], | 324 'linux_clang': ['compile'], |
| 339 'linux_chromeos_clang': ['compile'], | 325 'linux_chromeos_clang': ['compile'], |
| 340 # Note: It is a Release builder even if its name convey otherwise. | 326 # Note: It is a Release builder even if its name convey otherwise. |
| 341 'linux_chromeos': standard_tests + [ | 327 'linux_chromeos': standard_tests + [ |
| 342 'app_list_unittests', | 328 'app_list_unittests', |
| 343 'aura_unittests', | 329 'aura_unittests', |
| 344 'ash_unittests', | 330 'ash_unittests', |
| 345 'chromeos_unittests', | 331 'chromeos_unittests', |
| 346 'components_unittests', | 332 'components_unittests', |
| 347 'dbus_unittests', | 333 'dbus_unittests', |
| 348 'device_unittests', | 334 'device_unittests', |
| 349 'sandbox_linux_unittests', | 335 'sandbox_linux_unittests', |
| 350 ], | 336 ], |
| 351 'linux_rel': standard_tests + [ | 337 'linux_rel': standard_tests + [ |
| 338 'app_list_unittests', |
| 339 'aura_unittests', |
| 352 'cc_unittests', | 340 'cc_unittests', |
| 353 'chromedriver2_unittests', | 341 'chromedriver2_unittests', |
| 354 'components_unittests', | 342 'components_unittests', |
| 343 'compositor_unittests', |
| 355 'nacl_integration', | 344 'nacl_integration', |
| 356 'remoting_unittests', | 345 'remoting_unittests', |
| 357 'sandbox_linux_unittests', | 346 'sandbox_linux_unittests', |
| 358 'sync_integration_tests', | 347 'sync_integration_tests', |
| 359 ], | 348 ], |
| 360 'mac': ['compile'], | 349 'mac': ['compile'], |
| 361 'mac_rel': standard_tests + [ | 350 'mac_rel': standard_tests + [ |
| 362 'app_list_unittests', | 351 'app_list_unittests', |
| 363 'cc_unittests', | 352 'cc_unittests', |
| 364 'chromedriver2_unittests', | 353 'chromedriver2_unittests', |
| (...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 737 """List the projects that can be managed by the commit queue.""" | 726 """List the projects that can be managed by the commit queue.""" |
| 738 return sorted( | 727 return sorted( |
| 739 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) | 728 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) |
| 740 | 729 |
| 741 | 730 |
| 742 def load_project(project, user, root_dir, rietveld_obj, no_try): | 731 def load_project(project, user, root_dir, rietveld_obj, no_try): |
| 743 """Loads the specified project.""" | 732 """Loads the specified project.""" |
| 744 assert os.path.isabs(root_dir) | 733 assert os.path.isabs(root_dir) |
| 745 return getattr(sys.modules[__name__], '_gen_' + project)( | 734 return getattr(sys.modules[__name__], '_gen_' + project)( |
| 746 user, root_dir, rietveld_obj, no_try) | 735 user, root_dir, rietveld_obj, no_try) |
| OLD | NEW |