| 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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 'remoting_unittests', | 375 'remoting_unittests', |
| 376 'sync_integration_tests', | 376 'sync_integration_tests', |
| 377 'telemetry_unittests', | 377 'telemetry_unittests', |
| 378 ], | 378 ], |
| 379 'win': ['compile'], | 379 'win': ['compile'], |
| 380 'win7_aura': win7_aura_tests + [ | 380 'win7_aura': win7_aura_tests + [ |
| 381 'ash_unittests', | 381 'ash_unittests', |
| 382 ], | 382 ], |
| 383 'win_rel': standard_tests + [ | 383 'win_rel': standard_tests + [ |
| 384 'app_list_unittests', | 384 'app_list_unittests', |
| 385 'ash_unittests', |
| 386 'aura_unittests', |
| 385 'cc_unittests', | 387 'cc_unittests', |
| 386 'chrome_frame_net_tests', | 388 'chrome_frame_net_tests', |
| 387 'chrome_frame_tests', | 389 'chrome_frame_tests', |
| 388 'chrome_frame_unittests', | 390 'chrome_frame_unittests', |
| 389 'chromedriver2_unittests', | 391 'chromedriver2_unittests', |
| 390 'components_unittests', | 392 'components_unittests', |
| 393 'compositor_unittests', |
| 391 'installer_util_unittests', | 394 'installer_util_unittests', |
| 392 'mini_installer_test', | 395 'mini_installer_test', |
| 393 'nacl_integration', | 396 'nacl_integration', |
| 394 'remoting_unittests', | 397 'remoting_unittests', |
| 395 'sync_integration_tests', | 398 'sync_integration_tests', |
| 396 'telemetry_unittests', | 399 'telemetry_unittests', |
| 400 'views_unittests', |
| 397 ], | 401 ], |
| 398 'win_x64_rel': [ | 402 'win_x64_rel': [ |
| 399 'base_unittests', | 403 'base_unittests', |
| 400 ], | 404 ], |
| 401 } | 405 } |
| 402 | 406 |
| 403 swarm_enabled_tests = ( | 407 swarm_enabled_tests = ( |
| 404 'base_unittests', | 408 'base_unittests', |
| 405 'browser_tests', | 409 'browser_tests', |
| 406 'interactive_ui_tests', | 410 'interactive_ui_tests', |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 742 """List the projects that can be managed by the commit queue.""" | 746 """List the projects that can be managed by the commit queue.""" |
| 743 return sorted( | 747 return sorted( |
| 744 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) | 748 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) |
| 745 | 749 |
| 746 | 750 |
| 747 def load_project(project, user, root_dir, rietveld_obj, no_try): | 751 def load_project(project, user, root_dir, rietveld_obj, no_try): |
| 748 """Loads the specified project.""" | 752 """Loads the specified project.""" |
| 749 assert os.path.isabs(root_dir) | 753 assert os.path.isabs(root_dir) |
| 750 return getattr(sys.modules[__name__], '_gen_' + project)( | 754 return getattr(sys.modules[__name__], '_gen_' + project)( |
| 751 user, root_dir, rietveld_obj, no_try) | 755 user, root_dir, rietveld_obj, no_try) |
| OLD | NEW |