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

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

Issue 2264223002: Enable swarming for iOS try bots (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build@master
Patch Set: Fix Created 4 years, 4 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
« no previous file with comments | « no previous file | scripts/slave/recipes/ios/try.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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 import copy 5 import copy
6 6
7 from recipe_engine import recipe_api 7 from recipe_engine import recipe_api
8 8
9 9
10 class iOSApi(recipe_api.RecipeApi): 10 class iOSApi(recipe_api.RecipeApi):
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 # Since we may be running simulator tests on multiple platforms, 418 # Since we may be running simulator tests on multiple platforms,
419 # include the platform and OS in the name of the step. 419 # include the platform and OS in the name of the step.
420 step_name = '%s (%s iOS %s)' % ( 420 step_name = '%s (%s iOS %s)' % (
421 test['app'], 421 test['app'],
422 test['device type'], 422 test['device type'],
423 test['os'], 423 test['os'],
424 ) 424 )
425 425
426 cmd.extend(args) 426 cmd.extend(args)
427 427
428 if test.get('skip'): 428 if test.get('skip'): # pragma: no cover
429 step_result = self.m.step('[skipped] %s' % str(step_name), []) 429 step_result = self.m.step('[skipped] %s' % str(step_name), [])
430 step_result.presentation.step_text = ( 430 step_result.presentation.step_text = (
431 'This test was skipped because it was not affected.' 431 'This test was skipped because it was not affected.'
432 ) 432 )
433 continue 433 continue
434 434
435 try: 435 try:
436 step_result = self.m.step( 436 step_result = self.m.step(
437 str(step_name), 437 str(step_name),
438 cmd, 438 cmd,
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
818 self.configuration, 818 self.configuration,
819 'iossim', 819 'iossim',
820 ), 820 ),
821 'ninja': self.m.path.join( 821 'ninja': self.m.path.join(
822 'src', 822 'src',
823 build_dir, 823 build_dir,
824 '%s-%s' % (self.configuration, platform), 824 '%s-%s' % (self.configuration, platform),
825 'iossim', 825 'iossim',
826 ), 826 ),
827 }[self.compiler] 827 }[self.compiler]
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipes/ios/try.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698