| OLD | NEW |
| (Empty) |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 from . import steps | |
| 6 | |
| 7 SPEC = { | |
| 8 'settings': { | |
| 9 'build_gs_bucket': 'chromium-memory-archive', | |
| 10 }, | |
| 11 'builders': { | |
| 12 'Linux ASan LSan Builder': { | |
| 13 'chromium_config': 'chromium_linux_asan', | |
| 14 'gclient_config': 'chromium', | |
| 15 'chromium_config_kwargs': { | |
| 16 'BUILD_CONFIG': 'Release', | |
| 17 'TARGET_BITS': 64, | |
| 18 }, | |
| 19 # This doesn't affect the build, but ensures that trybots get the right | |
| 20 # runtime flags. | |
| 21 'chromium_apply_config': ['lsan'], | |
| 22 'bot_type': 'builder', | |
| 23 'testing': {'platform': 'linux'}, | |
| 24 'enable_swarming': True, | |
| 25 'use_isolate': True, | |
| 26 }, | |
| 27 'Linux ASan LSan Tests (1)': { | |
| 28 'chromium_config': 'chromium_linux_asan', | |
| 29 'gclient_config': 'chromium', | |
| 30 'chromium_config_kwargs': { | |
| 31 'BUILD_CONFIG': 'Release', | |
| 32 'TARGET_BITS': 64, | |
| 33 }, | |
| 34 # Enable LSan at runtime. This disables the sandbox in browser tests. | |
| 35 # http://crbug.com/336218 | |
| 36 'chromium_apply_config': ['lsan'], | |
| 37 'bot_type': 'tester', | |
| 38 'test_generators': [ | |
| 39 steps.generate_gtest, | |
| 40 steps.generate_script, | |
| 41 ], | |
| 42 'parent_buildername': 'Linux ASan LSan Builder', | |
| 43 'testing': {'platform': 'linux'}, | |
| 44 'enable_swarming': True, | |
| 45 }, | |
| 46 'Linux ASan Tests (sandboxed)': { | |
| 47 'chromium_config': 'chromium_linux_asan', | |
| 48 'gclient_config': 'chromium', | |
| 49 'chromium_config_kwargs': { | |
| 50 'BUILD_CONFIG': 'Release', | |
| 51 'TARGET_BITS': 64, | |
| 52 }, | |
| 53 # We want to test ASan+sandbox as well, so run browser tests again, this | |
| 54 # time with LSan disabled. | |
| 55 'bot_type': 'tester', | |
| 56 'test_generators': [ | |
| 57 steps.generate_gtest, | |
| 58 steps.generate_script, | |
| 59 ], | |
| 60 'parent_buildername': 'Linux ASan LSan Builder', | |
| 61 'testing': {'platform': 'linux'}, | |
| 62 'enable_swarming': True, | |
| 63 }, | |
| 64 'Mac ASan 64 Builder': { | |
| 65 'chromium_config': 'chromium_mac_asan', | |
| 66 'gclient_config': 'chromium', | |
| 67 'chromium_config_kwargs': { | |
| 68 'BUILD_CONFIG': 'Release', | |
| 69 'TARGET_BITS': 64, | |
| 70 }, | |
| 71 'bot_type': 'builder', | |
| 72 'testing': {'platform': 'mac'}, | |
| 73 'enable_swarming': True, | |
| 74 'use_isolate': True, | |
| 75 }, | |
| 76 'Mac ASan 64 Tests (1)': { | |
| 77 'chromium_config': 'chromium_mac_asan', | |
| 78 'gclient_config': 'chromium', | |
| 79 'chromium_config_kwargs': { | |
| 80 'BUILD_CONFIG': 'Release', | |
| 81 'TARGET_BITS': 64, | |
| 82 }, | |
| 83 'bot_type': 'tester', | |
| 84 'test_generators': [ | |
| 85 steps.generate_gtest, | |
| 86 steps.generate_script, | |
| 87 ], | |
| 88 'parent_buildername': 'Mac ASan 64 Builder', | |
| 89 'testing': {'platform': 'mac'}, | |
| 90 'enable_swarming': True, | |
| 91 }, | |
| 92 'Linux Chromium OS ASan LSan Builder': { | |
| 93 'chromium_config': 'chromium_chromiumos_asan', | |
| 94 'gclient_config': 'chromium', | |
| 95 'chromium_config_kwargs': { | |
| 96 'BUILD_CONFIG': 'Release', | |
| 97 'TARGET_BITS': 64, | |
| 98 }, | |
| 99 'chromium_apply_config': ['lsan'], | |
| 100 'bot_type': 'builder', | |
| 101 'testing': {'platform': 'linux'}, | |
| 102 'enable_swarming': True, | |
| 103 'use_isolate': True, | |
| 104 }, | |
| 105 'Linux Chromium OS ASan LSan Tests (1)': { | |
| 106 'chromium_config': 'chromium_chromiumos_asan', | |
| 107 'gclient_config': 'chromium', | |
| 108 'chromium_config_kwargs': { | |
| 109 'BUILD_CONFIG': 'Release', | |
| 110 'TARGET_BITS': 64, | |
| 111 }, | |
| 112 'chromium_apply_config': ['lsan'], | |
| 113 'test_generators': [ | |
| 114 steps.generate_gtest, | |
| 115 steps.generate_script, | |
| 116 ], | |
| 117 'parent_buildername': 'Linux Chromium OS ASan LSan Builder', | |
| 118 'bot_type': 'tester', | |
| 119 'testing': {'platform': 'linux'}, | |
| 120 'enable_swarming': True, | |
| 121 }, | |
| 122 }, | |
| 123 } | |
| OLD | NEW |