Index: infra/bots/recipes/swarm_perf.py |
diff --git a/infra/bots/recipes/swarm_perf.py b/infra/bots/recipes/swarm_perf.py |
index fb8838c047f227a86730b2f43e0dc4b913a31d83..d271685dbb862c5c8e51826db7b458488ae4c9e4 100644 |
--- a/infra/bots/recipes/swarm_perf.py |
+++ b/infra/bots/recipes/swarm_perf.py |
@@ -190,11 +190,14 @@ def perf_steps(api): |
'--undefok', # This helps branches that may not know new flags. |
'-i', api.flavor.device_dirs.resource_dir, |
'--skps', api.flavor.device_dirs.skp_dir, |
- '--svgs', api.flavor.device_dirs.svg_dir, |
'--images', api.flavor.device_path_join( |
api.flavor.device_dirs.images_dir, 'nanobench'), |
] |
+ # Do not run svgs on Valgrind. |
+ if 'Valgrind' not in api.vars.builder_name: |
+ args.extend(['--svgs', api.flavor.device_dirs.svg_dir]) |
borenet
2016/10/06 18:40:10
Nit: 2-space indent.
stephana
2016/10/06 18:57:19
Done.
|
+ |
skip_flag = None |
if api.vars.builder_cfg.get('cpu_or_gpu') == 'CPU': |
skip_flag = '--nogpu' |