diff options
Diffstat (limited to 'infra/bots/recipes/swarm_infra.py')
-rw-r--r-- | infra/bots/recipes/swarm_infra.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/infra/bots/recipes/swarm_infra.py b/infra/bots/recipes/swarm_infra.py index 3a57055f0e..bb70a6a160 100644 --- a/infra/bots/recipes/swarm_infra.py +++ b/infra/bots/recipes/swarm_infra.py @@ -23,12 +23,11 @@ def RunSteps(api): api.infra.update_go_deps() # Run the infra tests. - 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) + 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) def GenTests(api): |