OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 | 6 |
7 # READ THIS: | 7 # READ THIS: |
8 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure | 8 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure |
9 | 9 |
10 import os | 10 import os |
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 'sync_integration_tests', | 392 'sync_integration_tests', |
393 'sync_unit_tests', | 393 'sync_unit_tests', |
394 'ui_unittests', | 394 'ui_unittests', |
395 'unit_tests', | 395 'unit_tests', |
396 'url_unittests', | 396 'url_unittests', |
397 'views_unittests', | 397 'views_unittests', |
398 'webkit_compositor_bindings_unittests', | 398 'webkit_compositor_bindings_unittests', |
399 ] + chromium_factory.blink_tests_for_chromium_tryjobs | 399 ] + chromium_factory.blink_tests_for_chromium_tryjobs |
400 | 400 |
401 | 401 |
402 b_linux = CreateBuilder( | |
403 platform='linux', | |
404 target='Debug', | |
405 goma=True, | |
406 options=linux_targets, | |
407 tests=linux_tests, | |
408 builder_name='linux') | |
409 | |
410 pools['chrome'].append('linux') | |
411 | |
412 b_linux_rel = CreateBuilder( | |
413 platform='linux', | |
414 target='Release', | |
415 goma=True, | |
416 options=linux_targets, | |
417 tests=linux_tests + ['sizes_br'], | |
418 builder_name='linux_rel', | |
419 slavebuilddir='linux', | |
420 factory_properties={ | |
421 'swarming_triggered_builder': 'linux_swarm_triggered', | |
422 'use_xvfb_on_linux': True, | |
423 }, | |
424 run_default_swarm_tests=[ | |
425 'base_unittests', | |
426 'browser_tests', | |
427 'interactive_ui_tests', | |
428 'net_unittests', | |
429 'unit_tests', | |
430 ]) | |
431 | |
432 b_linux_rel_naclmore = CreateBuilder( | 402 b_linux_rel_naclmore = CreateBuilder( |
433 platform='linux', | 403 platform='linux', |
434 target='Release', | 404 target='Release', |
435 goma=True, | 405 goma=True, |
436 options=['all'], | 406 options=['all'], |
437 tests=['nacl_integration_br', 'buildrunner_tests'], | 407 tests=['nacl_integration_br', 'buildrunner_tests'], |
438 builder_name='linux_rel_naclmore', | 408 builder_name='linux_rel_naclmore', |
439 slavebuilddir='linux', | 409 slavebuilddir='linux', |
440 factory_properties={'use_xvfb_on_linux': True}) | 410 factory_properties={'use_xvfb_on_linux': True}) |
441 | 411 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 'printing_br', | 466 'printing_br', |
497 'remoting_br', | 467 'remoting_br', |
498 'sync_integration_br', | 468 'sync_integration_br', |
499 'telemetry_perf_unittests_br', | 469 'telemetry_perf_unittests_br', |
500 'telemetry_unittests_br', | 470 'telemetry_unittests_br', |
501 'unit_br', | 471 'unit_br', |
502 'url_unittests_br', | 472 'url_unittests_br', |
503 'webkit_compositor_bindings_unittests_br', | 473 'webkit_compositor_bindings_unittests_br', |
504 ] + chromium_factory.blink_tests_for_chromium_tryjobs | 474 ] + chromium_factory.blink_tests_for_chromium_tryjobs |
505 | 475 |
506 b_mac = CreateBuilder( | |
507 platform='mac', | |
508 target='Debug', | |
509 options=mac_targets, | |
510 tests=mac_tests, | |
511 builder_name='mac', | |
512 goma=True, | |
513 clang=True) | |
514 | |
515 pools['chrome'].append('mac') | |
516 | |
517 b_mac_rel = CreateBuilder( | |
518 platform='mac', | |
519 target='Release', | |
520 options=mac_targets, | |
521 tests=mac_tests + ['sizes_br'], | |
522 builder_name='mac_rel', | |
523 slavebuilddir='mac', | |
524 goma=True, | |
525 clang=True, | |
526 factory_properties={ | |
527 'swarming_triggered_builder': 'mac_swarm_triggered', | |
528 }, | |
529 run_default_swarm_tests=[ | |
530 'base_unittests', | |
531 'browser_tests', | |
532 'interactive_ui_tests', | |
533 'net_unittests', | |
534 'unit_tests', | |
535 ]) | |
536 | |
537 b_mac_rel_naclmore = CreateBuilder( | 476 b_mac_rel_naclmore = CreateBuilder( |
538 platform='mac', | 477 platform='mac', |
539 target='Release', | 478 target='Release', |
540 options=['all'], | 479 options=['all'], |
541 tests=['nacl_integration_br', 'buildrunner_tests'], | 480 tests=['nacl_integration_br', 'buildrunner_tests'], |
542 builder_name='mac_rel_naclmore', | 481 builder_name='mac_rel_naclmore', |
543 slavebuilddir='mac', | 482 slavebuilddir='mac', |
544 goma=True, | 483 goma=True, |
545 clang=True) | 484 clang=True) |
546 | 485 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
611 'printing_br', | 550 'printing_br', |
612 'remoting_br', | 551 'remoting_br', |
613 'sync_integration_br', | 552 'sync_integration_br', |
614 'telemetry_perf_unittests_br', | 553 'telemetry_perf_unittests_br', |
615 'telemetry_unittests_br', | 554 'telemetry_unittests_br', |
616 'unit_br', | 555 'unit_br', |
617 'url_unittests_br', | 556 'url_unittests_br', |
618 'webkit_compositor_bindings_unittests_br', | 557 'webkit_compositor_bindings_unittests_br', |
619 ] + chromium_factory.blink_tests_for_chromium_tryjobs | 558 ] + chromium_factory.blink_tests_for_chromium_tryjobs |
620 | 559 |
621 b_win = CreateBuilder( | |
622 target='Debug', | |
623 platform='win32', | |
624 options=win_targets, | |
625 tests=win_tests, | |
626 builder_name='win', | |
627 factory_properties={ | |
628 'gclient_env': { | |
629 }, | |
630 }, | |
631 goma=True) | |
632 | |
633 pools['chrome'].append('win') | |
634 | |
635 b_win_rel = CreateBuilder( | |
636 target='Release', | |
637 platform='win32', | |
638 options=win_targets, | |
639 tests=win_tests + ['sizes_br'], | |
640 builder_name='win_rel', | |
641 slavebuilddir='win', | |
642 factory_properties={ | |
643 'gclient_env': { | |
644 }, | |
645 'swarming_triggered_builder': 'win_swarm_triggered', | |
646 }, | |
647 goma=True, | |
648 run_default_swarm_tests=[ | |
649 'base_unittests', | |
650 'browser_tests', | |
651 'interactive_ui_tests', | |
652 'net_unittests', | |
653 'unit_tests', | |
654 ]) | |
655 | |
656 b_win_rel_naclmore = CreateBuilder( | 560 b_win_rel_naclmore = CreateBuilder( |
657 target='Release', | 561 target='Release', |
658 platform='win32', | 562 platform='win32', |
659 options=['all'], | 563 options=['all'], |
660 tests=win_tests, | 564 tests=win_tests, |
661 builder_name='win_rel_naclmore', | 565 builder_name='win_rel_naclmore', |
662 slavebuilddir='win', | 566 slavebuilddir='win', |
663 goma=True, | 567 goma=True, |
664 factory_properties={ | 568 factory_properties={ |
665 'gclient_env': { | 569 'gclient_env': { |
666 }, | 570 }, |
667 }) | 571 }) |
668 | 572 |
669 | 573 |
670 win_x64_options = [ | 574 win_x64_options = [ |
671 '--', 'all' | 575 '--', 'all' |
672 ] | 576 ] |
673 | 577 |
674 b_win_x64_rel = CreateBuilder( | |
675 target='Release_x64', | |
676 platform='win32', | |
677 options=win_x64_options, | |
678 tests=win_tests, | |
679 builder_name='win_x64_rel', | |
680 slavebuilddir='win', | |
681 goma=True, | |
682 ninja=True, | |
683 factory_properties={ | |
684 'gclient_env': { | |
685 'GYP_DEFINES': 'component=shared_library target_arch=x64', | |
686 }}) | |
687 | |
688 # Tests that are single-machine shard-safe on Linux ChromeOS | 578 # Tests that are single-machine shard-safe on Linux ChromeOS |
689 linux_chromeos_sharded = [ | 579 linux_chromeos_sharded = [ |
690 'accessibility_unittests', | 580 'accessibility_unittests', |
691 'base_unittests', | 581 'base_unittests', |
692 'browser_tests', | 582 'browser_tests', |
693 'buildrunner_tests', | 583 'buildrunner_tests', |
694 'components_unittests', | 584 'components_unittests', |
695 'content_browsertests', | 585 'content_browsertests', |
696 'content_unittests', | 586 'content_unittests', |
697 'media_unittests', | 587 'media_unittests', |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
767 | 657 |
768 def tsan_tests(test_list): | 658 def tsan_tests(test_list): |
769 return prepend_type('tsan', test_list) | 659 return prepend_type('tsan', test_list) |
770 | 660 |
771 browser_tests = [ | 661 browser_tests = [ |
772 ('browser_tests_br', 'browser_tests'), | 662 ('browser_tests_br', 'browser_tests'), |
773 ('content_browsertests_br', 'content_browsertests'), | 663 ('content_browsertests_br', 'content_browsertests'), |
774 ('interactive_ui_tests_br', 'interactive_ui_tests'), | 664 ('interactive_ui_tests_br', 'interactive_ui_tests'), |
775 ] | 665 ] |
776 | 666 |
777 # Chromium for ChromiumOS | |
778 b_linux_chromeos = { | |
779 'name': 'linux_chromeos', | |
780 'factory': m_chromium_chromiumos.ChromiumOSFactory( | |
781 slave_type='Trybot', | |
782 target='Release', | |
783 tests=extract_tests(linux_chromeos_tests), | |
784 options=['--compiler=goma'] + extract_options(linux_chromeos_tests), | |
785 factory_properties={ | |
786 'sharded_tests': sharded_tests, | |
787 'gclient_env': { | |
788 'GYP_DEFINES': ('chromeos=1 fastbuild=1' | |
789 ' dcheck_always_on=1' | |
790 ' ffmpeg_branding=ChromeOS' | |
791 ' component=shared_library' | |
792 ' proprietary_codecs=1')}}) | |
793 } | |
794 | |
795 b_android_aosp = { | 667 b_android_aosp = { |
796 'name': 'android_aosp', | 668 'name': 'android_aosp', |
797 'factory': m_annotator.BaseFactory('android_webview_aosp'), | 669 'factory': m_annotator.BaseFactory('android_webview_aosp'), |
798 } | 670 } |
799 | 671 |
800 b_blink_android_rel = CreateBuilder( | 672 b_blink_android_rel = CreateBuilder( |
801 platform='android', | 673 platform='android', |
802 target='Release', | 674 target='Release', |
803 builder_name='blink_android_compile_rel', | 675 builder_name='blink_android_compile_rel', |
804 slavebuilddir='blink_android', | 676 slavebuilddir='blink_android', |
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1541 'browser_tests', | 1413 'browser_tests', |
1542 'interactive_ui_tests', | 1414 'interactive_ui_tests', |
1543 'net_unittests', | 1415 'net_unittests', |
1544 'sync_integration_tests', | 1416 'sync_integration_tests', |
1545 'unit_tests', | 1417 'unit_tests', |
1546 ]), | 1418 ]), |
1547 'name': '%s_swarm_triggered' % name, | 1419 'name': '%s_swarm_triggered' % name, |
1548 } for name in ('linux', 'mac', 'win') | 1420 } for name in ('linux', 'mac', 'win') |
1549 ] | 1421 ] |
1550 | 1422 |
1551 | |
1552 # Clang builders | |
1553 b_linux_clang = CreateBuilder( | |
1554 platform='linux', | |
1555 target='Debug', | |
1556 options=linux_targets, | |
1557 tests=linux_tests, | |
1558 builder_name='linux_clang', | |
1559 goma=True, | |
1560 clang=True, | |
1561 # Keep all tests off by default. | |
1562 factory_properties={ | |
1563 'non_default': linux_tests_full_name, | |
1564 'gclient_env': { | |
1565 'GYP_DEFINES': 'clang_use_chrome_plugins=1', | |
1566 }, | |
1567 }) | |
1568 | |
1569 b_linux_chromeos_clang = { | |
1570 'name': 'linux_chromeos_clang', | |
1571 'factory': m_chromium_chromiumos.ChromiumOSFactory( | |
1572 slave_type='Trybot', | |
1573 target='Debug', | |
1574 options=['--build-tool=ninja', '--compiler=goma-clang'] + | |
1575 extract_options(linux_chromeos_tests), | |
1576 tests=[], | |
1577 factory_properties={ | |
1578 # CreateBuilder() adds "fastbuild=1" for the other 2 clang bots. | |
1579 'gclient_env': { | |
1580 'GYP_GENERATORS': 'ninja', | |
1581 'GYP_DEFINES': ('chromeos=1' | |
1582 ' clang=1 clang_use_chrome_plugins=1' | |
1583 ' fastbuild=1' | |
1584 ' ffmpeg_branding=ChromeOS proprietary_codecs=1' | |
1585 ' component=shared_library')}}) | |
1586 } | |
1587 | |
1588 # this matches the bot on the main waterfall soon | 1423 # this matches the bot on the main waterfall soon |
1589 b_win8_aura = CreateBuilder( | 1424 b_win8_aura = CreateBuilder( |
1590 platform='win32', | 1425 platform='win32', |
1591 target='Release', | 1426 target='Release', |
1592 builder_name='win8_aura', | 1427 builder_name='win8_aura', |
1593 options=['aura_builder'], | 1428 options=['aura_builder'], |
1594 tests=[ | 1429 tests=[ |
1595 'ash_unittests_br', | 1430 'ash_unittests_br', |
1596 'aura_br', | 1431 'aura_br', |
1597 'buildrunner_tests', | 1432 'buildrunner_tests', |
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2107 'slavebuilddir': (slavebuilddir or ('presubmit_%s' % name)), | 1942 'slavebuilddir': (slavebuilddir or ('presubmit_%s' % name)), |
2108 'factory': m_annotator.BaseFactory('run_presubmit', {'repo_name': name}), | 1943 'factory': m_annotator.BaseFactory('run_presubmit', {'repo_name': name}), |
2109 } | 1944 } |
2110 | 1945 |
2111 b_blink_presubmit = presubmit('blink', slavebuilddir='linux') | 1946 b_blink_presubmit = presubmit('blink', slavebuilddir='linux') |
2112 b_chromium_presubmit = presubmit('chromium', slavebuilddir='linux') | 1947 b_chromium_presubmit = presubmit('chromium', slavebuilddir='linux') |
2113 b_tools_build_presubmit = presubmit('tools_build') | 1948 b_tools_build_presubmit = presubmit('tools_build') |
2114 | 1949 |
2115 | 1950 |
2116 c['builders'] = [ | 1951 c['builders'] = [ |
2117 b_linux_rel, b_linux_rel_alt, | |
2118 b_linux_rel_precise32, | 1952 b_linux_rel_precise32, |
2119 b_mac_rel, b_win_rel, | 1953 b_linux_rel_alt, |
2120 b_mac_x64_rel, b_win_x64_rel, | 1954 b_mac_x64_rel, |
2121 b_linux_rel_naclmore, b_mac_rel_naclmore, b_win_rel_naclmore, | 1955 b_linux_rel_naclmore, b_mac_rel_naclmore, b_win_rel_naclmore, |
2122 b_linux_clang, | |
2123 b_linux, b_mac, b_win, | |
2124 b_android_dbg, b_android_dbg_triggered_tests, | 1956 b_android_dbg, b_android_dbg_triggered_tests, |
2125 b_android_fyi_dbg, b_android_fyi_dbg_triggered_tests, | 1957 b_android_fyi_dbg, b_android_fyi_dbg_triggered_tests, |
2126 b_android_x86_dbg, | 1958 b_android_x86_dbg, |
2127 b_blink_android_dbg, b_blink_android_rel, | 1959 b_blink_android_dbg, b_blink_android_rel, |
2128 b_android_clang_dbg, b_android_rel, b_android_rel_triggered_tests, | 1960 b_android_clang_dbg, b_android_rel, b_android_rel_triggered_tests, |
2129 b_android_aosp, | 1961 b_android_aosp, |
2130 b_ios_rel_device, b_ios_dbg_simulator, b_ios_rel_device_ninja, | 1962 b_ios_rel_device, b_ios_dbg_simulator, b_ios_rel_device_ninja, |
2131 b_linux_chromeos, | |
2132 b_valgrind_linux, b_valgrind_mac, | 1963 b_valgrind_linux, b_valgrind_mac, |
2133 b_linux_chromeos_valgrind, | 1964 b_linux_chromeos_valgrind, |
2134 b_tsan_linux, b_tsan_win, b_drmemory_win, | 1965 b_tsan_linux, b_tsan_win, b_drmemory_win, |
2135 b_linux_layout, | 1966 b_linux_layout, |
2136 b_linux_layout_rel, | 1967 b_linux_layout_rel, |
2137 b_linux_layout_asan, b_linux_layout_rel_32, | 1968 b_linux_layout_asan, b_linux_layout_rel_32, |
2138 ] + b_swarms + [ | 1969 ] + b_swarms + [ |
2139 b_linux_chromeos_clang, | |
2140 b_win8_aura, | 1970 b_win8_aura, |
2141 b_linux_asan, b_linux_browser_asan, b_linux_clang_tsan, | 1971 b_linux_asan, b_linux_browser_asan, b_linux_clang_tsan, |
2142 b_linux_chromeos_asan, | 1972 b_linux_chromeos_asan, |
2143 b_linux_chromeos_browser_asan, | 1973 b_linux_chromeos_browser_asan, |
2144 b_mac_asan, b_mac_asan_64, b_mac_xcodebuild, | 1974 b_mac_asan, b_mac_asan_64, b_mac_xcodebuild, |
2145 b_linux_redux, | 1975 b_linux_redux, |
2146 b_linux_nacl_sdk, b_win_nacl_sdk, b_mac_nacl_sdk, | 1976 b_linux_nacl_sdk, b_win_nacl_sdk, b_mac_nacl_sdk, |
2147 b_linux_nacl_sdk_build, b_win_nacl_sdk_build, b_mac_nacl_sdk_build, | 1977 b_linux_nacl_sdk_build, b_win_nacl_sdk_build, b_mac_nacl_sdk_build, |
2148 b_valgrind_mac_alt, | 1978 b_valgrind_mac_alt, |
2149 b_mac_nacl_sdk_alt, | 1979 b_mac_nacl_sdk_alt, |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2337 # base.make_stop_form = hack_stop(base.make_stop_form) | 2167 # base.make_stop_form = hack_stop(base.make_stop_form) |
2338 | 2168 |
2339 | 2169 |
2340 ####### PROJECT IDENTITY | 2170 ####### PROJECT IDENTITY |
2341 | 2171 |
2342 # The 'projectURL' string will be used to provide a link | 2172 # The 'projectURL' string will be used to provide a link |
2343 # from buildbot HTML pages to your project's home page. | 2173 # from buildbot HTML pages to your project's home page. |
2344 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 2174 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
2345 | 2175 |
2346 # vi: set ts=4 sts=2 sw=2 et: | 2176 # vi: set ts=4 sts=2 sw=2 et: |
OLD | NEW |