aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipes/swarm_infra.py
diff options
context:
space:
mode:
authorGravatar Eric Boren <borenet@google.com>2017-02-17 20:53:27 +0000
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-17 20:53:41 +0000
commit9c58306f87ff342bf30ed645be3332aa6f2b2fee (patch)
tree45c953e0350189fc53081ca5ea231d387812e7d4 /infra/bots/recipes/swarm_infra.py
parenteae7524c59a030bec0fe365dd10c033a8de9d542 (diff)
Revert "Roll Recipe DEPS"
This reverts commit 310f4d02c1e2d01181c1db18acf05f2846f94cd4. Reason for revert: Broke uploads Original change's description: > Roll Recipe DEPS > > BUG=skia: > > Change-Id: I3e32207e5809e126d53ee8ec2158eb855c1a26d2 > Reviewed-on: https://skia-review.googlesource.com/8671 > Commit-Queue: Eric Boren <borenet@google.com> > Reviewed-by: Ravi Mistry <rmistry@google.com> > TBR=borenet@google.com,rmistry@google.com,reviews@skia.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Change-Id: If6eed7a72aa7178afd23d0a4a7786e23b27c1ac2 Reviewed-on: https://skia-review.googlesource.com/8681 Reviewed-by: Eric Boren <borenet@google.com> Commit-Queue: Eric Boren <borenet@google.com>
Diffstat (limited to 'infra/bots/recipes/swarm_infra.py')
-rw-r--r--infra/bots/recipes/swarm_infra.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/infra/bots/recipes/swarm_infra.py b/infra/bots/recipes/swarm_infra.py
index bb70a6a160..3a57055f0e 100644
--- a/infra/bots/recipes/swarm_infra.py
+++ b/infra/bots/recipes/swarm_infra.py
@@ -23,11 +23,12 @@ def RunSteps(api):
api.infra.update_go_deps()
# Run the infra tests.
- infra_tests = api.vars.skia_dir.join('infra', 'bots', 'infra_tests.py')
- with api.step.context({'cwd': api.vars.skia_dir}):
- api.step('infra_tests',
- cmd=['python', infra_tests],
- env=api.infra.go_env)
+ infra_tests = api.vars.skia_dir.join(
+ 'infra', 'bots', 'infra_tests.py')
+ api.step('infra_tests',
+ cmd=['python', infra_tests],
+ cwd=api.vars.skia_dir,
+ env=api.infra.go_env)
def GenTests(api):