aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xtools/buildbot_spec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/buildbot_spec.py b/tools/buildbot_spec.py
index 8e2f7b7b13..551907038e 100755
--- a/tools/buildbot_spec.py
+++ b/tools/buildbot_spec.py
@@ -301,7 +301,7 @@ def get_builder_spec(builder_name):
rv['do_perf_steps'] = (role == builder_name_schema.BUILDER_ROLE_PERF or
(role == builder_name_schema.BUILDER_ROLE_TEST and
configuration == CONFIG_DEBUG))
- if 'Valgrind' in builder_name:
+ if rv['do_test_steps'] and 'Valgrind' in builder_name:
rv['do_perf_steps'] = True
if 'GalaxyS4' in builder_name:
rv['do_perf_steps'] = False