| 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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 'printing_unittests', | 297 'printing_unittests', |
| 298 'sql_unittests', | 298 'sql_unittests', |
| 299 'sync_unit_tests', | 299 'sync_unit_tests', |
| 300 'unit_tests', | 300 'unit_tests', |
| 301 #'webkit_unit_tests', | 301 #'webkit_unit_tests', |
| 302 ] | 302 ] |
| 303 # Use a smaller set of tests for *_aura, since there's a lot of overlap with | 303 # Use a smaller set of tests for *_aura, since there's a lot of overlap with |
| 304 # the corresponding *_rel builders. | 304 # the corresponding *_rel builders. |
| 305 # Note: *_aura are Release builders even if their names convey otherwise. | 305 # Note: *_aura are Release builders even if their names convey otherwise. |
| 306 aura_tests = [ | 306 aura_tests = [ |
| 307 'app_list_unittests', |
| 307 'aura_unittests', | 308 'aura_unittests', |
| 308 'browser_tests', | 309 'browser_tests', |
| 309 'compositor_unittests', | 310 'compositor_unittests', |
| 310 'content_browsertests', | 311 'content_browsertests', |
| 311 'content_unittests', | 312 'content_unittests', |
| 312 'interactive_ui_tests', | 313 'interactive_ui_tests', |
| 313 'unit_tests', | 314 'unit_tests', |
| 314 'views_unittests', | 315 'views_unittests', |
| 315 ] | 316 ] |
| 316 linux_aura_tests = aura_tests[:] | 317 linux_aura_tests = aura_tests[:] |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 'cc_unittests', | 356 'cc_unittests', |
| 356 'chromedriver2_unittests', | 357 'chromedriver2_unittests', |
| 357 'components_unittests', | 358 'components_unittests', |
| 358 'nacl_integration', | 359 'nacl_integration', |
| 359 'remoting_unittests', | 360 'remoting_unittests', |
| 360 'sandbox_linux_unittests', | 361 'sandbox_linux_unittests', |
| 361 'sync_integration_tests', | 362 'sync_integration_tests', |
| 362 ], | 363 ], |
| 363 'mac': ['compile'], | 364 'mac': ['compile'], |
| 364 'mac_rel': standard_tests + [ | 365 'mac_rel': standard_tests + [ |
| 366 'app_list_unittests', |
| 365 'cc_unittests', | 367 'cc_unittests', |
| 366 'chromedriver2_unittests', | 368 'chromedriver2_unittests', |
| 367 'components_unittests', | 369 'components_unittests', |
| 368 'message_center_unittests', | 370 'message_center_unittests', |
| 369 'nacl_integration', | 371 'nacl_integration', |
| 370 'remoting_unittests', | 372 'remoting_unittests', |
| 371 'sync_integration_tests', | 373 'sync_integration_tests', |
| 372 'telemetry_unittests', | 374 'telemetry_unittests', |
| 373 ], | 375 ], |
| 374 'win': ['compile'], | 376 'win': ['compile'], |
| 375 'win7_aura': aura_tests + [ | 377 'win7_aura': aura_tests + [ |
| 376 'ash_unittests', | 378 'ash_unittests', |
| 377 ], | 379 ], |
| 378 'win_rel': standard_tests + [ | 380 'win_rel': standard_tests + [ |
| 381 'app_list_unittests', |
| 379 'cc_unittests', | 382 'cc_unittests', |
| 380 'chrome_frame_net_tests', | 383 'chrome_frame_net_tests', |
| 381 'chrome_frame_tests', | 384 'chrome_frame_tests', |
| 382 'chrome_frame_unittests', | 385 'chrome_frame_unittests', |
| 383 'chromedriver2_unittests', | 386 'chromedriver2_unittests', |
| 384 'components_unittests', | 387 'components_unittests', |
| 385 'installer_util_unittests', | 388 'installer_util_unittests', |
| 386 'mini_installer_test', | 389 'mini_installer_test', |
| 387 'nacl_integration', | 390 'nacl_integration', |
| 388 'remoting_unittests', | 391 'remoting_unittests', |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 736 """List the projects that can be managed by the commit queue.""" | 739 """List the projects that can be managed by the commit queue.""" |
| 737 return sorted( | 740 return sorted( |
| 738 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) | 741 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) |
| 739 | 742 |
| 740 | 743 |
| 741 def load_project(project, user, root_dir, rietveld_obj, no_try): | 744 def load_project(project, user, root_dir, rietveld_obj, no_try): |
| 742 """Loads the specified project.""" | 745 """Loads the specified project.""" |
| 743 assert os.path.isabs(root_dir) | 746 assert os.path.isabs(root_dir) |
| 744 return getattr(sys.modules[__name__], '_gen_' + project)( | 747 return getattr(sys.modules[__name__], '_gen_' + project)( |
| 745 user, root_dir, rietveld_obj, no_try) | 748 user, root_dir, rietveld_obj, no_try) |
| OLD | NEW |