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