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

Side by Side Diff: scripts/slave/recipe_modules/chromium/api.py

Issue 238953003: Point nacl tests to correct browser on 64-bit Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: fixes Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | scripts/slave/recipes/chromium_trybot.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 slave import recipe_api 5 from slave import recipe_api
6 from slave import recipe_util 6 from slave import recipe_util
7 7
8 8
9 class TestLauncherFilterFileInputPlaceholder(recipe_util.Placeholder): 9 class TestLauncherFilterFileInputPlaceholder(recipe_util.Placeholder):
10 def __init__(self, api, tests): 10 def __init__(self, api, tests):
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 generate_json_file=True, 209 generate_json_file=True,
210 results_directory=results_directory, 210 results_directory=results_directory,
211 python_mode=True, 211 python_mode=True,
212 spawn_dbus=spawn_dbus, 212 spawn_dbus=spawn_dbus,
213 revision=revision, 213 revision=revision,
214 webkit_revision=webkit_revision, 214 webkit_revision=webkit_revision,
215 master_class_name=master_class_name, 215 master_class_name=master_class_name,
216 env=env) 216 env=env)
217 217
218 def run_telemetry_unittests(self): 218 def run_telemetry_unittests(self):
219 browser = self.c.BUILD_CONFIG.lower()
220 if self.m.platform.is_win and self.c.TARGET_BITS == 64:
221 browser += '_x64'
222 return self.runtest( 219 return self.runtest(
223 self.m.path['checkout'].join('tools', 'telemetry', 'run_tests'), 220 self.m.path['checkout'].join('tools', 'telemetry', 'run_tests'),
224 args=['--browser=%s' % browser], 221 args=['--browser=%s' % self.c.build_config_fs.lower()],
Michael Achenbach 2014/04/15 11:37:35 Assuming the following statement is correct: the t
225 annotate='gtest', 222 annotate='gtest',
226 name='telemetry_unittests', 223 name='telemetry_unittests',
227 test_type='telemetry_unittests', 224 test_type='telemetry_unittests',
228 python_mode=True, 225 python_mode=True,
229 xvfb=True) 226 xvfb=True)
230 227
231 def run_telemetry_perf_unittests(self): 228 def run_telemetry_perf_unittests(self):
232 browser = self.c.BUILD_CONFIG.lower()
233 if self.m.platform.is_win and self.c.TARGET_BITS == 64:
234 browser += '_x64'
235 return self.runtest( 229 return self.runtest(
236 self.m.path['checkout'].join('tools', 'perf', 'run_tests'), 230 self.m.path['checkout'].join('tools', 'perf', 'run_tests'),
237 args=['--browser=%s' % browser], 231 args=['--browser=%s' % self.c.build_config_fs.lower()],
238 annotate='gtest', 232 annotate='gtest',
239 name='telemetry_perf_unittests', 233 name='telemetry_perf_unittests',
240 test_type='telemetry_perf_unittests', 234 test_type='telemetry_perf_unittests',
241 python_mode=True, 235 python_mode=True,
242 xvfb=True) 236 xvfb=True)
243 237
244 def runhooks(self, run_gyp=True, **kwargs): 238 def runhooks(self, run_gyp=True, **kwargs):
245 """Run the build-configuration hooks for chromium.""" 239 """Run the build-configuration hooks for chromium."""
246 env = kwargs.get('env', {}) 240 env = kwargs.get('env', {})
247 if run_gyp: 241 if run_gyp:
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 '--json', self.m.json.output()], 319 '--json', self.m.json.output()],
326 step_test_data=lambda: self.m.json.test_api.output([]), 320 step_test_data=lambda: self.m.json.test_api.output([]),
327 **kwargs) 321 **kwargs)
328 322
329 def deps2submodules(self, **kwargs): 323 def deps2submodules(self, **kwargs):
330 return self.m.python( 324 return self.m.python(
331 'deps2submodules', 325 'deps2submodules',
332 self.m.path['checkout'].join('tools', 'deps2git', 'deps2submodules.py'), 326 self.m.path['checkout'].join('tools', 'deps2git', 'deps2submodules.py'),
333 args=['--gitless', self.m.path['checkout'].join('.DEPS.git')], 327 args=['--gitless', self.m.path['checkout'].join('.DEPS.git')],
334 **kwargs) 328 **kwargs)
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipes/chromium_trybot.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698