Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: scripts/slave/recipe_modules/chromium_tests/chromium_mac.py

Issue 1942383002: Enable hermetic builds for FYI mac builders. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 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 4
5 from . import steps 5 from . import steps
6 6
7 SPEC = { 7 SPEC = {
8 'settings': { 8 'settings': {
9 'build_gs_bucket': 'chromium-mac-archive', 9 'build_gs_bucket': 'chromium-mac-archive',
10 # WARNING: src-side runtest.py is only tested with chromium CQ builders. 10 # WARNING: src-side runtest.py is only tested with chromium CQ builders.
11 # Usage not covered by chromium CQ is not supported and can break 11 # Usage not covered by chromium CQ is not supported and can break
12 # without notice. 12 # without notice.
13 'src_side_runtest_py': True, 13 'src_side_runtest_py': True,
14 }, 14 },
15 'builders': { 15 'builders': {
16 'Mac Builder': { 16 'Mac Builder': {
17 'chromium_config': 'chromium', 17 'chromium_config': 'chromium',
18 'chromium_apply_config': [ 18 'chromium_apply_config': [
19 'archive_gpu_tests', 19 'archive_gpu_tests',
20 'chrome_with_codecs', 20 'chrome_with_codecs',
21 'mb', 21 'mb',
22 'ninja_confirm_noop', 22 'ninja_confirm_noop',
23 'force_mac_toolchain',
erikchen 2016/05/03 16:48:57 To start, let's move all the FYI bots over first,
justincohen 2016/05/03 17:32:58 done, reverted.
23 ], 24 ],
24 'gclient_config': 'chromium', 25 'gclient_config': 'chromium',
25 'chromium_config_kwargs': { 26 'chromium_config_kwargs': {
26 'BUILD_CONFIG': 'Release', 27 'BUILD_CONFIG': 'Release',
27 'TARGET_BITS': 64, 28 'TARGET_BITS': 64,
28 }, 29 },
29 'bot_type': 'builder', 30 'bot_type': 'builder',
30 'compile_targets': [ 31 'compile_targets': [
31 'chromium_builder_tests', 32 'chromium_builder_tests',
32 ], 33 ],
33 'testing': { 34 'testing': {
34 'platform': 'mac', 35 'platform': 'mac',
35 }, 36 },
36 'enable_swarming': True, 37 'enable_swarming': True,
37 'use_isolate': True, 38 'use_isolate': True,
38 }, 39 },
39 'Mac10.9 Tests': { 40 'Mac10.9 Tests': {
40 'chromium_config': 'chromium', 41 'chromium_config': 'chromium',
41 'chromium_apply_config': ['ninja_confirm_noop'], 42 'chromium_apply_config': ['ninja_confirm_noop', 'force_mac_toolchain'],
42 'gclient_config': 'chromium', 43 'gclient_config': 'chromium',
43 'chromium_config_kwargs': { 44 'chromium_config_kwargs': {
44 'BUILD_CONFIG': 'Release', 45 'BUILD_CONFIG': 'Release',
45 'TARGET_BITS': 64, 46 'TARGET_BITS': 64,
46 }, 47 },
47 'test_generators': [ 48 'test_generators': [
48 steps.generate_gtest, 49 steps.generate_gtest,
49 steps.generate_script, 50 steps.generate_script,
50 steps.generate_isolated_script, 51 steps.generate_isolated_script,
51 ], 52 ],
52 'bot_type': 'tester', 53 'bot_type': 'tester',
53 'parent_buildername': 'Mac Builder', 54 'parent_buildername': 'Mac Builder',
54 'testing': { 55 'testing': {
55 'platform': 'mac', 56 'platform': 'mac',
56 }, 57 },
57 'enable_swarming': True, 58 'enable_swarming': True,
58 'swarming_dimensions': { 59 'swarming_dimensions': {
59 'os': 'Mac-10.9', 60 'os': 'Mac-10.9',
60 }, 61 },
61 }, 62 },
62 'Mac10.10 Tests': { 63 'Mac10.10 Tests': {
63 'chromium_config': 'chromium', 64 'chromium_config': 'chromium',
64 'chromium_apply_config': ['ninja_confirm_noop'], 65 'chromium_apply_config': ['ninja_confirm_noop', 'force_mac_toolchain'],
65 'gclient_config': 'chromium', 66 'gclient_config': 'chromium',
66 'chromium_config_kwargs': { 67 'chromium_config_kwargs': {
67 'BUILD_CONFIG': 'Release', 68 'BUILD_CONFIG': 'Release',
68 'TARGET_BITS': 64, 69 'TARGET_BITS': 64,
69 }, 70 },
70 'test_generators': [ 71 'test_generators': [
71 steps.generate_gtest, 72 steps.generate_gtest,
72 steps.generate_script, 73 steps.generate_script,
73 steps.generate_isolated_script, 74 steps.generate_isolated_script,
74 ], 75 ],
75 'bot_type': 'tester', 76 'bot_type': 'tester',
76 'parent_buildername': 'Mac Builder', 77 'parent_buildername': 'Mac Builder',
77 'testing': { 78 'testing': {
78 'platform': 'mac', 79 'platform': 'mac',
79 }, 80 },
80 'swarming_dimensions': { 81 'swarming_dimensions': {
81 'os': 'Mac-10.10', 82 'os': 'Mac-10.10',
82 }, 83 },
83 }, 84 },
84 'Mac10.11 Tests': { 85 'Mac10.11 Tests': {
85 'chromium_config': 'chromium', 86 'chromium_config': 'chromium',
86 'chromium_apply_config': ['ninja_confirm_noop'], 87 'chromium_apply_config': ['ninja_confirm_noop', 'force_mac_toolchain'],
87 'gclient_config': 'chromium', 88 'gclient_config': 'chromium',
88 'chromium_config_kwargs': { 89 'chromium_config_kwargs': {
89 'BUILD_CONFIG': 'Release', 90 'BUILD_CONFIG': 'Release',
90 'TARGET_BITS': 64, 91 'TARGET_BITS': 64,
91 }, 92 },
92 'test_generators': [ 93 'test_generators': [
93 steps.generate_gtest, 94 steps.generate_gtest,
94 steps.generate_script, 95 steps.generate_script,
95 steps.generate_isolated_script, 96 steps.generate_isolated_script,
96 ], 97 ],
97 'bot_type': 'tester', 98 'bot_type': 'tester',
98 'parent_buildername': 'Mac Builder', 99 'parent_buildername': 'Mac Builder',
99 'testing': { 100 'testing': {
100 'platform': 'mac', 101 'platform': 'mac',
101 }, 102 },
102 }, 103 },
103 'Mac GN': { 104 'Mac GN': {
104 'chromium_config': 'chromium', 105 'chromium_config': 'chromium',
105 'chromium_apply_config': ['mb'], 106 'chromium_apply_config': ['mb', 'force_mac_toolchain'],
106 'gclient_config': 'chromium', 107 'gclient_config': 'chromium',
107 'chromium_config_kwargs': { 108 'chromium_config_kwargs': {
108 'BUILD_CONFIG': 'Release', 109 'BUILD_CONFIG': 'Release',
109 'TARGET_PLATFORM': 'mac', 110 'TARGET_PLATFORM': 'mac',
110 }, 111 },
111 'test_generators': [ 112 'test_generators': [
112 steps.generate_gtest, 113 steps.generate_gtest,
113 steps.generate_script, 114 steps.generate_script,
114 steps.generate_isolated_script, 115 steps.generate_isolated_script,
115 ], 116 ],
116 'enable_swarming': True, 117 'enable_swarming': True,
117 'testing': { 118 'testing': {
118 'platform': 'mac', 119 'platform': 'mac',
119 }, 120 },
120 }, 121 },
121 'Mac Builder (dbg)': { 122 'Mac Builder (dbg)': {
122 'chromium_config': 'chromium', 123 'chromium_config': 'chromium',
123 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], 124 'chromium_apply_config': [
125 'mb',
126 'ninja_confirm_noop',
127 'force_mac_toolchain'
128 ],
124 'gclient_config': 'chromium', 129 'gclient_config': 'chromium',
125 'chromium_config_kwargs': { 130 'chromium_config_kwargs': {
126 'BUILD_CONFIG': 'Debug', 131 'BUILD_CONFIG': 'Debug',
127 'TARGET_BITS': 64, 132 'TARGET_BITS': 64,
128 }, 133 },
129 'bot_type': 'builder', 134 'bot_type': 'builder',
130 'compile_targets': [ 135 'compile_targets': [
131 'chromium_builder_tests', 136 'chromium_builder_tests',
132 ], 137 ],
133 'testing': { 138 'testing': {
134 'platform': 'mac', 139 'platform': 'mac',
135 }, 140 },
136 'enable_swarming': True, 141 'enable_swarming': True,
137 'use_isolate': True, 142 'use_isolate': True,
138 }, 143 },
139 'Mac10.9 Tests (dbg)': { 144 'Mac10.9 Tests (dbg)': {
140 'chromium_config': 'chromium', 145 'chromium_config': 'chromium',
141 'chromium_apply_config': ['ninja_confirm_noop'], 146 'chromium_apply_config': ['ninja_confirm_noop', 'force_mac_toolchain'],
142 'gclient_config': 'chromium', 147 'gclient_config': 'chromium',
143 'chromium_config_kwargs': { 148 'chromium_config_kwargs': {
144 'BUILD_CONFIG': 'Debug', 149 'BUILD_CONFIG': 'Debug',
145 'TARGET_BITS': 64, 150 'TARGET_BITS': 64,
146 }, 151 },
147 'test_generators': [ 152 'test_generators': [
148 steps.generate_gtest, 153 steps.generate_gtest,
149 steps.generate_script, 154 steps.generate_script,
150 steps.generate_isolated_script, 155 steps.generate_isolated_script,
151 ], 156 ],
152 'bot_type': 'tester', 157 'bot_type': 'tester',
153 'parent_buildername': 'Mac Builder (dbg)', 158 'parent_buildername': 'Mac Builder (dbg)',
154 'testing': { 159 'testing': {
155 'platform': 'mac', 160 'platform': 'mac',
156 }, 161 },
157 'enable_swarming': True, 162 'enable_swarming': True,
158 'swarming_dimensions': { 163 'swarming_dimensions': {
159 'os': 'Mac-10.9', 164 'os': 'Mac-10.9',
160 }, 165 },
161 }, 166 },
162 'Mac GN (dbg)': { 167 'Mac GN (dbg)': {
163 'chromium_config': 'chromium', 168 'chromium_config': 'chromium',
164 'chromium_apply_config': ['mb'], 169 'chromium_apply_config': ['mb', 'force_mac_toolchain'],
165 'gclient_config': 'chromium', 170 'gclient_config': 'chromium',
166 'chromium_config_kwargs': { 171 'chromium_config_kwargs': {
167 'BUILD_CONFIG': 'Debug', 172 'BUILD_CONFIG': 'Debug',
168 'TARGET_PLATFORM': 'mac', 173 'TARGET_PLATFORM': 'mac',
169 }, 174 },
170 'test_generators': [ 175 'test_generators': [
171 steps.generate_gtest, 176 steps.generate_gtest,
172 steps.generate_script, 177 steps.generate_script,
173 steps.generate_isolated_script, 178 steps.generate_isolated_script,
174 ], 179 ],
175 'enable_swarming': True, 180 'enable_swarming': True,
176 'testing': { 181 'testing': {
177 'platform': 'mac', 182 'platform': 'mac',
178 }, 183 },
179 }, 184 },
180 }, 185 },
181 } 186 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698