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

Side by Side Diff: scripts/slave/recipe_modules/chromium_tests/chromium_chromiumos.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-chromiumos-archive', 9 'build_gs_bucket': 'chromium-chromiumos-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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 }, 88 },
89 'Linux ChromiumOS Tests (1)': { 89 'Linux ChromiumOS Tests (1)': {
90 'chromium_config': 'chromium', 90 'chromium_config': 'chromium',
91 'chromium_apply_config': ['chromeos', 'ninja_confirm_noop'], 91 'chromium_apply_config': ['chromeos', 'ninja_confirm_noop'],
92 'gclient_config': 'chromium', 92 'gclient_config': 'chromium',
93 'chromium_config_kwargs': { 93 'chromium_config_kwargs': {
94 'BUILD_CONFIG': 'Release', 94 'BUILD_CONFIG': 'Release',
95 'TARGET_BITS': 64, 95 'TARGET_BITS': 64,
96 }, 96 },
97 'bot_type': 'tester', 97 'bot_type': 'tester',
98 'test_generators': [
99 steps.generate_gtest,
100 steps.generate_script,
101 steps.generate_isolated_script,
102 ],
103 'parent_buildername': 'Linux ChromiumOS Builder', 98 'parent_buildername': 'Linux ChromiumOS Builder',
104 'testing': { 99 'testing': {
105 'platform': 'linux', 100 'platform': 'linux',
106 }, 101 },
107 'enable_swarming': True, 102 'enable_swarming': True,
108 }, 103 },
109 'Linux ChromiumOS Ozone Builder': { 104 'Linux ChromiumOS Ozone Builder': {
110 'chromium_config': 'chromium', 105 'chromium_config': 'chromium',
111 'chromium_apply_config': ['chromeos', 'mb', 'ninja_confirm_noop', 'ozone'] , 106 'chromium_apply_config': ['chromeos', 'mb', 'ninja_confirm_noop', 'ozone'] ,
112 'gclient_config': 'chromium', 107 'gclient_config': 'chromium',
(...skipping 14 matching lines...) Expand all
127 }, 122 },
128 'Linux ChromiumOS Ozone Tests (1)': { 123 'Linux ChromiumOS Ozone Tests (1)': {
129 'chromium_config': 'chromium', 124 'chromium_config': 'chromium',
130 'chromium_apply_config': ['chromeos', 'ozone', 'ninja_confirm_noop'], 125 'chromium_apply_config': ['chromeos', 'ozone', 'ninja_confirm_noop'],
131 'gclient_config': 'chromium', 126 'gclient_config': 'chromium',
132 'chromium_config_kwargs': { 127 'chromium_config_kwargs': {
133 'BUILD_CONFIG': 'Release', 128 'BUILD_CONFIG': 'Release',
134 'TARGET_BITS': 64, 129 'TARGET_BITS': 64,
135 }, 130 },
136 'bot_type': 'tester', 131 'bot_type': 'tester',
137 'test_generators': [
138 steps.generate_gtest,
139 steps.generate_script,
140 steps.generate_isolated_script,
141 ],
142 'parent_buildername': 'Linux ChromiumOS Ozone Builder', 132 'parent_buildername': 'Linux ChromiumOS Ozone Builder',
143 'testing': { 133 'testing': {
144 'platform': 'linux', 134 'platform': 'linux',
145 }, 135 },
146 'enable_swarming': True, 136 'enable_swarming': True,
147 'use_isolate': True, 137 'use_isolate': True,
148 }, 138 },
149 'Linux ChromiumOS Builder (dbg)': { 139 'Linux ChromiumOS Builder (dbg)': {
150 'chromium_config': 'chromium', 140 'chromium_config': 'chromium',
151 'chromium_apply_config': ['chromeos', 'mb', 'ninja_confirm_noop'], 141 'chromium_apply_config': ['chromeos', 'mb', 'ninja_confirm_noop'],
(...skipping 15 matching lines...) Expand all
167 }, 157 },
168 'Linux ChromiumOS Tests (dbg)(1)': { 158 'Linux ChromiumOS Tests (dbg)(1)': {
169 'chromium_config': 'chromium', 159 'chromium_config': 'chromium',
170 'chromium_apply_config': ['chromeos', 'ninja_confirm_noop'], 160 'chromium_apply_config': ['chromeos', 'ninja_confirm_noop'],
171 'gclient_config': 'chromium', 161 'gclient_config': 'chromium',
172 'chromium_config_kwargs': { 162 'chromium_config_kwargs': {
173 'BUILD_CONFIG': 'Debug', 163 'BUILD_CONFIG': 'Debug',
174 'TARGET_BITS': 64, 164 'TARGET_BITS': 64,
175 }, 165 },
176 'bot_type': 'tester', 166 'bot_type': 'tester',
177 'test_generators': [
178 steps.generate_gtest,
179 steps.generate_script,
180 steps.generate_isolated_script,
181 ],
182 'parent_buildername': 'Linux ChromiumOS Builder (dbg)', 167 'parent_buildername': 'Linux ChromiumOS Builder (dbg)',
183 'testing': { 168 'testing': {
184 'platform': 'linux', 169 'platform': 'linux',
185 }, 170 },
186 'enable_swarming': True, 171 'enable_swarming': True,
187 }, 172 },
188 }, 173 },
189 } 174 }
190 175
191 # Simple Chrome compile-only builders. 176 # Simple Chrome compile-only builders.
192 for board in ('x86-generic', 'amd64-generic', 'daisy'): 177 for board in ('x86-generic', 'amd64-generic', 'daisy'):
193 SPEC['builders']['ChromiumOS %s Compile' % (board,)] = { 178 SPEC['builders']['ChromiumOS %s Compile' % (board,)] = {
194 'chromium_config': 'chromium', 179 'chromium_config': 'chromium',
195 'chromium_apply_config': ['chromeos', 'mb', 'ninja_confirm_noop'], 180 'chromium_apply_config': ['chromeos', 'mb', 'ninja_confirm_noop'],
196 'gclient_config': 'chromium', 181 'gclient_config': 'chromium',
197 'chromium_config_kwargs': { 182 'chromium_config_kwargs': {
198 'BUILD_CONFIG': 'Release', 183 'BUILD_CONFIG': 'Release',
199 'TARGET_PLATFORM': 'chromeos', 184 'TARGET_PLATFORM': 'chromeos',
200 'TARGET_CROS_BOARD': board, 185 'TARGET_CROS_BOARD': board,
201 }, 186 },
202 'bot_type': 'builder', 187 'bot_type': 'builder',
203 'compile_targets': [ 188 'compile_targets': [
204 'chromiumos_preflight', 189 'chromiumos_preflight',
205 ], 190 ],
206 'testing': { 191 'testing': {
207 'platform': 'linux', 192 'platform': 'linux',
208 }, 193 },
209 } 194 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698