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 ] |
302 builders_and_tests = { | 315 builders_and_tests = { |
303 # 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 |
304 # effectively update the perf expectation correctly. This requires a | 317 # effectively update the perf expectation correctly. This requires a |
305 # clobber=True build running 'sizes'. 'sizes' is not accurate with | 318 # clobber=True build running 'sizes'. 'sizes' is not accurate with |
306 # incremental build. Reference: | 319 # incremental build. Reference: |
307 # http://chromium.org/developers/tree-sheriffs/perf-sheriffs. | 320 # http://chromium.org/developers/tree-sheriffs/perf-sheriffs. |
308 # 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 |
309 # of this step as a try job failure. | 322 # of this step as a try job failure. |
310 'android_dbg': ['slave_steps'], | 323 'android_dbg': ['slave_steps'], |
311 'android_clang_dbg': ['slave_steps'], | 324 'android_clang_dbg': ['slave_steps'], |
312 'android_aosp': ['compile'], | 325 'android_aosp': ['compile'], |
313 'ios_dbg_simulator': [ | 326 'ios_dbg_simulator': [ |
314 'compile', | 327 'compile', |
315 'base_unittests', | 328 'base_unittests', |
316 'content_unittests', | 329 'content_unittests', |
317 'crypto_unittests', | 330 'crypto_unittests', |
318 'url_unittests', | 331 'url_unittests', |
319 'net_unittests', | 332 'net_unittests', |
320 'sql_unittests', | 333 'sql_unittests', |
321 'ui_unittests', | 334 'ui_unittests', |
322 ], | 335 ], |
323 'ios_rel_device': ['compile'], | 336 'ios_rel_device': ['compile'], |
| 337 'linux_aura': linux_aura_tests, |
324 'linux_clang': ['compile'], | 338 'linux_clang': ['compile'], |
325 'linux_chromeos_clang': ['compile'], | 339 'linux_chromeos_clang': ['compile'], |
326 # Note: It is a Release builder even if its name convey otherwise. | 340 # Note: It is a Release builder even if its name convey otherwise. |
327 'linux_chromeos': standard_tests + [ | 341 'linux_chromeos': standard_tests + [ |
328 'app_list_unittests', | 342 'app_list_unittests', |
329 'aura_unittests', | 343 'aura_unittests', |
330 'ash_unittests', | 344 'ash_unittests', |
331 'chromeos_unittests', | 345 'chromeos_unittests', |
332 'components_unittests', | 346 'components_unittests', |
333 'dbus_unittests', | 347 'dbus_unittests', |
334 'device_unittests', | 348 'device_unittests', |
335 'sandbox_linux_unittests', | 349 'sandbox_linux_unittests', |
336 ], | 350 ], |
337 'linux_rel': standard_tests + [ | 351 'linux_rel': standard_tests + [ |
338 'app_list_unittests', | |
339 'aura_unittests', | |
340 'cc_unittests', | 352 'cc_unittests', |
341 'chromedriver2_unittests', | 353 'chromedriver2_unittests', |
342 'components_unittests', | 354 'components_unittests', |
343 'compositor_unittests', | |
344 'nacl_integration', | 355 'nacl_integration', |
345 'remoting_unittests', | 356 'remoting_unittests', |
346 'sandbox_linux_unittests', | 357 'sandbox_linux_unittests', |
347 'sync_integration_tests', | 358 'sync_integration_tests', |
348 ], | 359 ], |
349 'mac': ['compile'], | 360 'mac': ['compile'], |
350 'mac_rel': standard_tests + [ | 361 'mac_rel': standard_tests + [ |
351 'app_list_unittests', | 362 'app_list_unittests', |
352 'cc_unittests', | 363 'cc_unittests', |
353 'chromedriver2_unittests', | 364 'chromedriver2_unittests', |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 """List the projects that can be managed by the commit queue.""" | 737 """List the projects that can be managed by the commit queue.""" |
727 return sorted( | 738 return sorted( |
728 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_')) |
729 | 740 |
730 | 741 |
731 def load_project(project, user, root_dir, rietveld_obj, no_try): | 742 def load_project(project, user, root_dir, rietveld_obj, no_try): |
732 """Loads the specified project.""" | 743 """Loads the specified project.""" |
733 assert os.path.isabs(root_dir) | 744 assert os.path.isabs(root_dir) |
734 return getattr(sys.modules[__name__], '_gen_' + project)( | 745 return getattr(sys.modules[__name__], '_gen_' + project)( |
735 user, root_dir, rietveld_obj, no_try) | 746 user, root_dir, rietveld_obj, no_try) |
OLD | NEW |