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 1421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1432 options=['--build-tool=ninja', '--compiler=goma', 'blink_tests'], | 1432 options=['--build-tool=ninja', '--compiler=goma', 'blink_tests'], |
1433 factory_properties={ | 1433 factory_properties={ |
1434 'archive_webkit_results': ActiveMaster.is_production_host, | 1434 'archive_webkit_results': ActiveMaster.is_production_host, |
1435 'blink_config': 'blink', | 1435 'blink_config': 'blink', |
1436 'gclient_env': { | 1436 'gclient_env': { |
1437 'GYP_GENERATORS': 'ninja', | 1437 'GYP_GENERATORS': 'ninja', |
1438 }, | 1438 }, |
1439 }), | 1439 }), |
1440 } | 1440 } |
1441 | 1441 |
1442 asan_gyp = ('asan=1 use_allocator=none ' | 1442 asan_gyp = ('asan=1 use_allocator=none fastbuild=0 ' |
1443 'release_extra_cflags="-g -O1 -fno-inline-functions -fno-inline"') | 1443 'release_extra_cflags="-O1 -fno-inline-functions -fno-inline"') |
1444 | 1444 |
1445 b_linux_layout_asan = { | 1445 b_linux_layout_asan = { |
1446 'name': 'linux_layout_asan', | 1446 'name': 'linux_layout_asan', |
1447 # Reuse the directory. | 1447 # Reuse the directory. |
1448 'slavebuilddir': 'linux_layout', | 1448 'slavebuilddir': 'linux_layout', |
1449 'factory': m_chromium_linux.ChromiumFactory( | 1449 'factory': m_chromium_linux.ChromiumFactory( |
1450 slave_type='Trybot', | 1450 slave_type='Trybot', |
1451 target='Release', | 1451 target='Release', |
1452 tests=chromium_factory.blink_tests_for_blink_tryjobs, | 1452 tests=chromium_factory.blink_tests_for_blink_tryjobs, |
1453 options=['--build-tool=ninja', '--compiler=goma', 'blink_tests'], | 1453 options=['--build-tool=ninja', '--compiler=goma', 'blink_tests'], |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1704 'sync_unit_tests', | 1704 'sync_unit_tests', |
1705 'ui_unittests', | 1705 'ui_unittests', |
1706 'unit_tests', | 1706 'unit_tests', |
1707 'url_unittests', | 1707 'url_unittests', |
1708 ], | 1708 ], |
1709 factory_properties={ | 1709 factory_properties={ |
1710 'asan': True, # Used by runtest.py. | 1710 'asan': True, # Used by runtest.py. |
1711 'cluster_size': 1, | 1711 'cluster_size': 1, |
1712 'gclient_env': { | 1712 'gclient_env': { |
1713 'GYP_GENERATORS': 'ninja', | 1713 'GYP_GENERATORS': 'ninja', |
1714 'GYP_DEFINES': 'asan=1 lsan=1 use_allocator=none', | 1714 'GYP_DEFINES': 'asan=1 lsan=1 use_allocator=none fastbuild=0', |
1715 }, | 1715 }, |
1716 'lsan': True, | 1716 'lsan': True, |
1717 'sharded_tests': sharded_tests, | 1717 'sharded_tests': sharded_tests, |
1718 }), | 1718 }), |
1719 } | 1719 } |
1720 | 1720 |
1721 b_linux_browser_asan = { | 1721 b_linux_browser_asan = { |
1722 'name': 'linux_browser_asan', | 1722 'name': 'linux_browser_asan', |
1723 'factory': m_chromium_linux.ChromiumASANFactory( | 1723 'factory': m_chromium_linux.ChromiumASANFactory( |
1724 slave_type='Trybot', | 1724 slave_type='Trybot', |
1725 options=[ | 1725 options=[ |
1726 '--build-tool=ninja', | 1726 '--build-tool=ninja', |
1727 '--compiler=goma-clang', | 1727 '--compiler=goma-clang', |
1728 'browser_tests', | 1728 'browser_tests', |
1729 'content_browsertests', | 1729 'content_browsertests', |
1730 'interactive_ui_tests', | 1730 'interactive_ui_tests', |
1731 ], | 1731 ], |
1732 tests=[ | 1732 tests=[ |
1733 'browser_tests', | 1733 'browser_tests', |
1734 'content_browsertests', | 1734 'content_browsertests', |
1735 'interactive_ui_tests', | 1735 'interactive_ui_tests', |
1736 ], | 1736 ], |
1737 factory_properties={ | 1737 factory_properties={ |
1738 'asan': True, # Used by runtest.py. | 1738 'asan': True, # Used by runtest.py. |
1739 'gclient_env': { | 1739 'gclient_env': { |
1740 'GYP_GENERATORS': 'ninja', | 1740 'GYP_GENERATORS': 'ninja', |
1741 'GYP_DEFINES': 'asan=1 lsan=1 use_allocator=none', | 1741 'GYP_DEFINES': 'asan=1 lsan=1 use_allocator=none fastbuild=0', |
1742 }, | 1742 }, |
1743 'lsan': True, | 1743 'lsan': True, |
1744 'sharded_tests': sharded_tests, | 1744 'sharded_tests': sharded_tests, |
1745 }), | 1745 }), |
1746 } | 1746 } |
1747 | 1747 |
1748 # browser_tests run for two hours. Please don't add them to the bot. | 1748 # browser_tests run for two hours. Please don't add them to the bot. |
1749 b_linux_clang_tsan = { | 1749 b_linux_clang_tsan = { |
1750 'name': 'linux_clang_tsan', | 1750 'name': 'linux_clang_tsan', |
1751 'factory': m_chromium_linux.ChromiumFactory( | 1751 'factory': m_chromium_linux.ChromiumFactory( |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1802 'unit_sql', | 1802 'unit_sql', |
1803 'unit_sync', | 1803 'unit_sync', |
1804 'unit_tests', | 1804 'unit_tests', |
1805 'url_unittests', | 1805 'url_unittests', |
1806 ], | 1806 ], |
1807 factory_properties={ | 1807 factory_properties={ |
1808 'tsan': True, # Used by runtest.py. | 1808 'tsan': True, # Used by runtest.py. |
1809 'gclient_env': { | 1809 'gclient_env': { |
1810 'GYP_GENERATORS': 'ninja', | 1810 'GYP_GENERATORS': 'ninja', |
1811 'GYP_DEFINES': ('tsan=1 ' | 1811 'GYP_DEFINES': ('tsan=1 ' |
1812 'use_allocator=none ' | 1812 'use_allocator=none fastbuild=0 ' |
1813 'disable_nacl=1'), # http://crbug.com/257320 | 1813 'disable_nacl=1'), # http://crbug.com/257320 |
1814 }, | 1814 }, |
1815 'sharded_tests': sharded_tests, | 1815 'sharded_tests': sharded_tests, |
1816 }), | 1816 }), |
1817 } | 1817 } |
1818 | 1818 |
1819 b_linux_chromeos_asan = { | 1819 b_linux_chromeos_asan = { |
1820 'name': 'linux_chromeos_asan', | 1820 'name': 'linux_chromeos_asan', |
1821 'factory': m_chromium_chromiumos.ChromiumOSASANFactory( | 1821 'factory': m_chromium_chromiumos.ChromiumOSASANFactory( |
1822 slave_type='Trybot', | 1822 slave_type='Trybot', |
1823 options=['--build-tool=ninja', '--compiler=goma-clang'] + | 1823 options=['--build-tool=ninja', '--compiler=goma-clang'] + |
1824 extract_options(without_tests(linux_chromeos_tests, | 1824 extract_options(without_tests(linux_chromeos_tests, |
1825 extract_tests(browser_tests))), | 1825 extract_tests(browser_tests))), |
1826 tests=extract_tests(without_tests(linux_chromeos_tests, | 1826 tests=extract_tests(without_tests(linux_chromeos_tests, |
1827 extract_tests(browser_tests))), | 1827 extract_tests(browser_tests))), |
1828 factory_properties={ | 1828 factory_properties={ |
1829 'asan': True, # Used by runtest.py. | 1829 'asan': True, # Used by runtest.py. |
1830 'gclient_env': { | 1830 'gclient_env': { |
1831 'GYP_GENERATORS': 'ninja', | 1831 'GYP_GENERATORS': 'ninja', |
1832 'GYP_DEFINES': 'asan=1 lsan=1 use_allocator=none ' | 1832 'GYP_DEFINES': 'asan=1 lsan=1 use_allocator=none fastbuild=0 ' |
1833 'chromeos=1 component=static_library ' | 1833 'chromeos=1 component=static_library ' |
1834 }, | 1834 }, |
1835 'lsan': True, | 1835 'lsan': True, |
1836 'sharded_tests': sharded_tests, | 1836 'sharded_tests': sharded_tests, |
1837 }), | 1837 }), |
1838 } | 1838 } |
1839 | 1839 |
1840 b_linux_chromeos_browser_asan = { | 1840 b_linux_chromeos_browser_asan = { |
1841 'name': 'linux_chromeos_browser_asan', | 1841 'name': 'linux_chromeos_browser_asan', |
1842 'factory': m_chromium_chromiumos.ChromiumOSASANFactory( | 1842 'factory': m_chromium_chromiumos.ChromiumOSASANFactory( |
1843 slave_type='Trybot', | 1843 slave_type='Trybot', |
1844 options=['--build-tool=ninja', '--compiler=goma-clang'] + | 1844 options=['--build-tool=ninja', '--compiler=goma-clang'] + |
1845 extract_options(browser_tests), | 1845 extract_options(browser_tests), |
1846 tests=extract_tests(browser_tests), | 1846 tests=extract_tests(browser_tests), |
1847 factory_properties={ | 1847 factory_properties={ |
1848 'asan': True, # Used by runtest.py. | 1848 'asan': True, # Used by runtest.py. |
1849 'gclient_env': { | 1849 'gclient_env': { |
1850 'GYP_GENERATORS': 'ninja', | 1850 'GYP_GENERATORS': 'ninja', |
1851 'GYP_DEFINES': 'asan=1 use_allocator=none ' | 1851 'GYP_DEFINES': 'asan=1 use_allocator=none fastbuild=0 ' |
1852 'chromeos=1 component=static_library ' | 1852 'chromeos=1 component=static_library ' |
1853 }, | 1853 }, |
1854 'lsan': True, | 1854 'lsan': True, |
1855 'sharded_tests': sharded_tests, | 1855 'sharded_tests': sharded_tests, |
1856 }), | 1856 }), |
1857 } | 1857 } |
1858 | 1858 |
1859 b_mac_asan = CreateBuilder( | 1859 b_mac_asan = CreateBuilder( |
1860 platform='mac', | 1860 platform='mac', |
1861 target='Release', | 1861 target='Release', |
1862 tests=mac_tests, | 1862 tests=mac_tests, |
1863 options=mac_targets, | 1863 options=mac_targets, |
1864 builder_name='mac_asan', | 1864 builder_name='mac_asan', |
1865 goma=True, | 1865 goma=True, |
1866 clang=True, | 1866 clang=True, |
1867 factory_properties={ | 1867 factory_properties={ |
1868 'asan': True, | 1868 'asan': True, |
1869 'gclient_env': { | 1869 'gclient_env': { |
1870 'GYP_DEFINES': 'asan=1 release_extra_cflags=-gline-tables-only', | 1870 'GYP_DEFINES': 'asan=1 fastbuild=0', |
1871 }, | 1871 }, |
1872 }) | 1872 }) |
1873 | 1873 |
1874 b_mac_asan_64 = CreateBuilder( | 1874 b_mac_asan_64 = CreateBuilder( |
1875 platform='mac', | 1875 platform='mac', |
1876 target='Release', | 1876 target='Release', |
1877 tests=mac_tests, | 1877 tests=mac_tests, |
1878 options=mac_targets, | 1878 options=mac_targets, |
1879 builder_name='mac_asan_64', | 1879 builder_name='mac_asan_64', |
1880 goma=True, | 1880 goma=True, |
1881 clang=True, | 1881 clang=True, |
1882 factory_properties={ | 1882 factory_properties={ |
1883 'asan': True, | 1883 'asan': True, |
1884 'gclient_env': { | 1884 'gclient_env': { |
1885 'GYP_DEFINES': ('asan=1 target_arch=x64 host_arch=x64 ' | 1885 'GYP_DEFINES': ('asan=1 target_arch=x64 host_arch=x64 ' |
1886 'release_extra_cflags=-gline-tables-only'), | 1886 'fastbuild=0'), |
1887 }, | 1887 }, |
1888 }) | 1888 }) |
1889 | 1889 |
1890 b_linux_redux = { | 1890 b_linux_redux = { |
1891 'name': 'linux_redux', | 1891 'name': 'linux_redux', |
1892 'factory': m_chromium_linux.ChromiumFactory( | 1892 'factory': m_chromium_linux.ChromiumFactory( |
1893 slave_type='Trybot', | 1893 slave_type='Trybot', |
1894 options=[ | 1894 options=[ |
1895 '--compiler=goma', | 1895 '--compiler=goma', |
1896 'accessibility_unittests', | 1896 'accessibility_unittests', |
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2380 # base.make_stop_form = hack_stop(base.make_stop_form) | 2380 # base.make_stop_form = hack_stop(base.make_stop_form) |
2381 | 2381 |
2382 | 2382 |
2383 ####### PROJECT IDENTITY | 2383 ####### PROJECT IDENTITY |
2384 | 2384 |
2385 # The 'projectURL' string will be used to provide a link | 2385 # The 'projectURL' string will be used to provide a link |
2386 # from buildbot HTML pages to your project's home page. | 2386 # from buildbot HTML pages to your project's home page. |
2387 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 2387 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
2388 | 2388 |
2389 # vi: set ts=4 sts=2 sw=2 et: | 2389 # vi: set ts=4 sts=2 sw=2 et: |
OLD | NEW |