aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipe_modules/flavor/ios_flavor.py
diff options
context:
space:
mode:
authorGravatar borenet <borenet@chromium.org>2016-08-08 04:34:00 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-08 04:34:01 -0700
commitdfa55f2db436535cfa22abeb542270ef54b77675 (patch)
treefb1e5cb084f5859260f6ad36ad546273e0e7604f /infra/bots/recipe_modules/flavor/ios_flavor.py
parent03591a762c0e3f541141d570625c2dab16deacba (diff)
[recipes] Smush the rest of builder_spec into appropriate places, other cleanup
Diffstat (limited to 'infra/bots/recipe_modules/flavor/ios_flavor.py')
-rw-r--r--infra/bots/recipe_modules/flavor/ios_flavor.py3
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',