| 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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 302 # Use a smaller set of tests for *_aura, since there's a lot of overlap with |
| 303 # the corresponding *_rel builders. | 303 # the corresponding *_rel builders. |
| 304 # Note: *_aura are Release builders even if their names convey otherwise. | 304 # Note: *_aura are Release builders even if their names convey otherwise. |
| 305 aura_tests = [ | 305 linux_aura_tests = [ |
| 306 'app_list_unittests', | 306 'app_list_unittests', |
| 307 'aura_unittests', | 307 'aura_unittests', |
| 308 'browser_tests', | 308 'browser_tests', |
| 309 'compositor_unittests', | 309 'compositor_unittests', |
| 310 'content_browsertests', | 310 'content_browsertests', |
| 311 'content_unittests', | 311 'content_unittests', |
| 312 'interactive_ui_tests', | 312 'interactive_ui_tests', |
| 313 'unit_tests', | 313 'unit_tests', |
| 314 'views_unittests', | |
| 315 ] | 314 ] |
| 316 linux_aura_tests = aura_tests[:] | |
| 317 linux_aura_tests.remove('views_unittests') | |
| 318 win7_aura_tests = aura_tests[:] | |
| 319 win7_aura_tests.remove('app_list_unittests') | |
| 320 builders_and_tests = { | 315 builders_and_tests = { |
| 321 # TODO(maruel): Figure out a way to run 'sizes' where people can | 316 # TODO(maruel): Figure out a way to run 'sizes' where people can |
| 322 # effectively update the perf expectation correctly. This requires a | 317 # effectively update the perf expectation correctly. This requires a |
| 323 # clobber=True build running 'sizes'. 'sizes' is not accurate with | 318 # clobber=True build running 'sizes'. 'sizes' is not accurate with |
| 324 # incremental build. Reference: | 319 # incremental build. Reference: |
| 325 # http://chromium.org/developers/tree-sheriffs/perf-sheriffs. | 320 # http://chromium.org/developers/tree-sheriffs/perf-sheriffs. |
| 326 # TODO(maruel): An option would be to run 'sizes' but not count a failure | 321 # TODO(maruel): An option would be to run 'sizes' but not count a failure |
| 327 # of this step as a try job failure. | 322 # of this step as a try job failure. |
| 328 'android_dbg': ['slave_steps'], | 323 'android_dbg': ['slave_steps'], |
| 329 'android_clang_dbg': ['slave_steps'], | 324 'android_clang_dbg': ['slave_steps'], |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 'chromedriver2_unittests', | 364 'chromedriver2_unittests', |
| 370 'components_unittests', | 365 'components_unittests', |
| 371 'google_apis_unittests', | 366 'google_apis_unittests', |
| 372 'message_center_unittests', | 367 'message_center_unittests', |
| 373 'nacl_integration', | 368 'nacl_integration', |
| 374 'remoting_unittests', | 369 'remoting_unittests', |
| 375 'sync_integration_tests', | 370 'sync_integration_tests', |
| 376 'telemetry_unittests', | 371 'telemetry_unittests', |
| 377 ], | 372 ], |
| 378 'win': ['compile'], | 373 'win': ['compile'], |
| 379 'win7_aura': win7_aura_tests + [ | |
| 380 'ash_unittests', | |
| 381 ], | |
| 382 'win_rel': standard_tests + [ | 374 'win_rel': standard_tests + [ |
| 383 'app_list_unittests', | 375 'app_list_unittests', |
| 384 'ash_unittests', | 376 'ash_unittests', |
| 385 'aura_unittests', | 377 'aura_unittests', |
| 386 'cc_unittests', | 378 'cc_unittests', |
| 387 'chrome_frame_net_tests', | 379 'chrome_frame_net_tests', |
| 388 'chrome_frame_tests', | 380 'chrome_frame_tests', |
| 389 'chrome_frame_unittests', | 381 'chrome_frame_unittests', |
| 390 'chromedriver2_unittests', | 382 'chromedriver2_unittests', |
| 391 'components_unittests', | 383 'components_unittests', |
| (...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 745 """List the projects that can be managed by the commit queue.""" | 737 """List the projects that can be managed by the commit queue.""" |
| 746 return sorted( | 738 return sorted( |
| 747 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) | 739 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) |
| 748 | 740 |
| 749 | 741 |
| 750 def load_project(project, user, root_dir, rietveld_obj, no_try): | 742 def load_project(project, user, root_dir, rietveld_obj, no_try): |
| 751 """Loads the specified project.""" | 743 """Loads the specified project.""" |
| 752 assert os.path.isabs(root_dir) | 744 assert os.path.isabs(root_dir) |
| 753 return getattr(sys.modules[__name__], '_gen_' + project)( | 745 return getattr(sys.modules[__name__], '_gen_' + project)( |
| 754 user, root_dir, rietveld_obj, no_try) | 746 user, root_dir, rietveld_obj, no_try) |
| OLD | NEW |