Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1332)

Unified Diff: infra/bots/recipes/swarm_perf.py

Issue 2209423002: [recipes] Remove build environment vars from default_env (Closed) Base URL: https://skia.googlesource.com/skia.git@merge_buildbot_spec_fix_coverage
Patch Set: [recipes] Remove build environment vars from default_env Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: infra/bots/recipes/swarm_perf.py
diff --git a/infra/bots/recipes/swarm_perf.py b/infra/bots/recipes/swarm_perf.py
index f2ea06ce87806f605a4317a4daa8efe469e290ea..7d0d5e482a00565c266cd94dd5f35b5f00f87672 100644
--- a/infra/bots/recipes/swarm_perf.py
+++ b/infra/bots/recipes/swarm_perf.py
@@ -71,7 +71,7 @@ def perf_steps(api):
skip_flag = '--nocpu'
if skip_flag:
args.append(skip_flag)
- args.extend(api.vars.nanobench_flags)
+ args.extend(api.vars.builder_spec['nanobench_flags'])
if api.vars.upload_perf_results:
json_path = api.flavor.device_path_join(
@@ -87,8 +87,8 @@ def perf_steps(api):
args.extend([k, api.vars.builder_cfg[k]])
api.run(api.flavor.step, target, cmd=args,
- abort_on_failure=False,
- env=api.vars.default_env)
+ abort_on_failure=False,
+ env=api.vars.default_env)
# See skia:2789.
if ('Valgrind' in api.vars.builder_name and
@@ -96,9 +96,9 @@ def perf_steps(api):
abandonGpuContext = list(args)
abandonGpuContext.extend(['--abandonGpuContext', '--nocpu'])
api.run(api.flavor.step,
- '%s --abandonGpuContext' % target,
- cmd=abandonGpuContext, abort_on_failure=False,
- env=api.vars.default_env)
+ '%s --abandonGpuContext' % target,
+ cmd=abandonGpuContext, abort_on_failure=False,
+ env=api.vars.default_env)
# Copy results to swarming out dir.
if api.vars.upload_perf_results:

Powered by Google App Engine
This is Rietveld 408576698