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

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

Issue 2357343004: chromium_tests: automatically set up test genrators (Closed)
Patch Set: rebase Created 4 years, 2 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-win-archive', 9 'build_gs_bucket': 'chromium-win-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.
(...skipping 28 matching lines...) Expand all
39 }, 39 },
40 'Win10 Tests x64': { 40 'Win10 Tests x64': {
41 'chromium_config': 'chromium', 41 'chromium_config': 'chromium',
42 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], 42 'chromium_apply_config': ['mb', 'ninja_confirm_noop'],
43 'gclient_config': 'chromium', 43 'gclient_config': 'chromium',
44 'chromium_config_kwargs': { 44 'chromium_config_kwargs': {
45 'BUILD_CONFIG': 'Release', 45 'BUILD_CONFIG': 'Release',
46 'TARGET_BITS': 64, 46 'TARGET_BITS': 64,
47 }, 47 },
48 'bot_type': 'tester', 48 'bot_type': 'tester',
49 'test_generators': [
50 steps.generate_gtest,
51 steps.generate_script,
52 steps.generate_isolated_script,
53 ],
54 'tests': [ 49 'tests': [
55 steps.MiniInstallerTest(), 50 steps.MiniInstallerTest(),
56 ], 51 ],
57 'parent_buildername': 'Win x64 Builder', 52 'parent_buildername': 'Win x64 Builder',
58 'testing': { 53 'testing': {
59 'platform': 'win', 54 'platform': 'win',
60 }, 55 },
61 'enable_swarming': True, 56 'enable_swarming': True,
62 'swarming_dimensions': { 57 'swarming_dimensions': {
63 'cpu': 'x86-64', 58 'cpu': 'x86-64',
64 'os': 'Windows-10-10586', 59 'os': 'Windows-10-10586',
65 }, 60 },
66 }, 61 },
67 'Win7 (32) Tests': { 62 'Win7 (32) Tests': {
68 'chromium_config': 'chromium', 63 'chromium_config': 'chromium',
69 'chromium_apply_config': ['ninja_confirm_noop'], 64 'chromium_apply_config': ['ninja_confirm_noop'],
70 'gclient_config': 'chromium', 65 'gclient_config': 'chromium',
71 'chromium_config_kwargs': { 66 'chromium_config_kwargs': {
72 'BUILD_CONFIG': 'Release', 67 'BUILD_CONFIG': 'Release',
73 'TARGET_BITS': 32, 68 'TARGET_BITS': 32,
74 }, 69 },
75 'bot_type': 'tester', 70 'bot_type': 'tester',
76 'test_generators': [
77 steps.generate_gtest,
78 steps.generate_script,
79 steps.generate_isolated_script,
80 ],
81 'parent_buildername': 'Win Builder', 71 'parent_buildername': 'Win Builder',
82 'testing': { 72 'testing': {
83 'platform': 'win', 73 'platform': 'win',
84 }, 74 },
85 'enable_swarming': True, 75 'enable_swarming': True,
86 'swarming_dimensions': { 76 'swarming_dimensions': {
87 'cpu': 'x86-32', 77 'cpu': 'x86-32',
88 'os': 'Windows-7-SP1', 78 'os': 'Windows-7-SP1',
89 }, 79 },
90 }, 80 },
91 'Win7 Tests (1)': { 81 'Win7 Tests (1)': {
92 'chromium_config': 'chromium', 82 'chromium_config': 'chromium',
93 'chromium_apply_config': ['ninja_confirm_noop'], 83 'chromium_apply_config': ['ninja_confirm_noop'],
94 'gclient_config': 'chromium', 84 'gclient_config': 'chromium',
95 'chromium_config_kwargs': { 85 'chromium_config_kwargs': {
96 'BUILD_CONFIG': 'Release', 86 'BUILD_CONFIG': 'Release',
97 'TARGET_BITS': 32, 87 'TARGET_BITS': 32,
98 }, 88 },
99 'bot_type': 'tester', 89 'bot_type': 'tester',
100 'test_generators': [
101 steps.generate_gtest,
102 steps.generate_script,
103 steps.generate_isolated_script,
104 ],
105 'tests': [ 90 'tests': [
106 steps.MiniInstallerTest(), 91 steps.MiniInstallerTest(),
107 ], 92 ],
108 'parent_buildername': 'Win Builder', 93 'parent_buildername': 'Win Builder',
109 'testing': { 94 'testing': {
110 'platform': 'win', 95 'platform': 'win',
111 }, 96 },
112 'enable_swarming': True, 97 'enable_swarming': True,
113 }, 98 },
114 'Win x64 Builder': { 99 'Win x64 Builder': {
(...skipping 14 matching lines...) Expand all
129 }, 114 },
130 'Win 7 Tests x64 (1)': { 115 'Win 7 Tests x64 (1)': {
131 'chromium_config': 'chromium', 116 'chromium_config': 'chromium',
132 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], 117 'chromium_apply_config': ['mb', 'ninja_confirm_noop'],
133 'gclient_config': 'chromium', 118 'gclient_config': 'chromium',
134 'chromium_config_kwargs': { 119 'chromium_config_kwargs': {
135 'BUILD_CONFIG': 'Release', 120 'BUILD_CONFIG': 'Release',
136 'TARGET_BITS': 64, 121 'TARGET_BITS': 64,
137 }, 122 },
138 'bot_type': 'tester', 123 'bot_type': 'tester',
139 'test_generators': [
140 steps.generate_gtest,
141 steps.generate_script,
142 steps.generate_isolated_script,
143 ],
144 'tests': [ 124 'tests': [
145 steps.MiniInstallerTest(), 125 steps.MiniInstallerTest(),
146 ], 126 ],
147 'parent_buildername': 'Win x64 Builder', 127 'parent_buildername': 'Win x64 Builder',
148 'testing': { 128 'testing': {
149 'platform': 'win', 129 'platform': 'win',
150 }, 130 },
151 'enable_swarming': True, 131 'enable_swarming': True,
152 }, 132 },
153 'Win x64 Builder (dbg)': { 133 'Win x64 Builder (dbg)': {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 }, 170 },
191 'Win7 Tests (dbg)(1)': { 171 'Win7 Tests (dbg)(1)': {
192 'chromium_config': 'chromium', 172 'chromium_config': 'chromium',
193 'chromium_apply_config': ['ninja_confirm_noop'], 173 'chromium_apply_config': ['ninja_confirm_noop'],
194 'gclient_config': 'chromium', 174 'gclient_config': 'chromium',
195 'chromium_config_kwargs': { 175 'chromium_config_kwargs': {
196 'BUILD_CONFIG': 'Debug', 176 'BUILD_CONFIG': 'Debug',
197 'TARGET_BITS': 32, 177 'TARGET_BITS': 32,
198 }, 178 },
199 'bot_type': 'tester', 179 'bot_type': 'tester',
200 'test_generators': [
201 steps.generate_gtest,
202 steps.generate_script,
203 steps.generate_isolated_script,
204 ],
205 'parent_buildername': 'Win Builder (dbg)', 180 'parent_buildername': 'Win Builder (dbg)',
206 'testing': { 181 'testing': {
207 'platform': 'win', 182 'platform': 'win',
208 }, 183 },
209 'enable_swarming': True, 184 'enable_swarming': True,
210 }, 185 },
211 'WinClang64 (dbg)': { 186 'WinClang64 (dbg)': {
212 'chromium_config': 'chromium_win_clang', 187 'chromium_config': 'chromium_win_clang',
213 'chromium_apply_config': ['mb'], 188 'chromium_apply_config': ['mb'],
214 'gclient_config': 'chromium', 189 'gclient_config': 'chromium',
(...skipping 12 matching lines...) Expand all
227 }, 202 },
228 'use_isolate': True, 203 'use_isolate': True,
229 'enable_swarming': True, 204 'enable_swarming': True,
230 # Workaround so that recipes doesn't add random build targets to our 205 # Workaround so that recipes doesn't add random build targets to our
231 # compile line. We want to build everything. 206 # compile line. We want to build everything.
232 'add_tests_as_compile_targets': False, 207 'add_tests_as_compile_targets': False,
233 'checkout_dir': 'win_clang', 208 'checkout_dir': 'win_clang',
234 }, 209 },
235 }, 210 },
236 } 211 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698