Do not set do_perf_steps for Build-Ubuntu-GCC-x86_64-Release-SwarmingValgrind
authorrmistry <rmistry@google.com>
Tue, 5 Apr 2016 15:24:29 +0000 (08:24 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 5 Apr 2016 15:24:29 +0000 (08:24 -0700)
BUG=skia:5149
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1856403002

Review URL: https://codereview.chromium.org/1856403002

tools/buildbot_spec.py

index 8e2f7b7..5519070 100755 (executable)
@@ -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