diff options
author | borenet <borenet@chromium.org> | 2016-08-08 04:34:00 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-08 04:34:01 -0700 |
commit | dfa55f2db436535cfa22abeb542270ef54b77675 (patch) | |
tree | fb1e5cb084f5859260f6ad36ad546273e0e7604f /infra/bots/recipe_modules/flavor/ios_flavor.py | |
parent | 03591a762c0e3f541141d570625c2dab16deacba (diff) |
[recipes] Smush the rest of builder_spec into appropriate places, other cleanup
BUG=skia:5578
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2219873003
Review-Url: https://codereview.chromium.org/2219873003
Diffstat (limited to 'infra/bots/recipe_modules/flavor/ios_flavor.py')
-rw-r--r-- | infra/bots/recipe_modules/flavor/ios_flavor.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/infra/bots/recipe_modules/flavor/ios_flavor.py b/infra/bots/recipe_modules/flavor/ios_flavor.py index 806926a4b4..7708d5dccd 100644 --- a/infra/bots/recipe_modules/flavor/ios_flavor.py +++ b/infra/bots/recipe_modules/flavor/ios_flavor.py @@ -130,7 +130,8 @@ class iOSFlavorUtils(default_flavor.DefaultFlavorUtils): def cleanup_steps(self): """Run any device-specific cleanup steps.""" - if self.m.vars.do_test_steps or self.m.vars.do_perf_steps: + if self.m.vars.role in (self.m.builder_name_schema.BUILDER_ROLE_TEST, + self.m.builder_name_schema.BUILDER_ROLE_PERF): self.m.run( self.m.step, name='reboot', |