aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipes/skpbench.py
diff options
context:
space:
mode:
authorGravatar Eric Boren <borenet@google.com>2017-06-16 13:10:22 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-16 17:41:28 +0000
commit3e2ffd74b57a917a4df8d64785a18cf79ff2aacd (patch)
tree5d504bbf1beb1610b0389cfafb6174e0de564754 /infra/bots/recipes/skpbench.py
parent6ecc911070add386dc9ffeb8b131d21035672fb6 (diff)
[recipes] Switch to file module from recipe_engine
Bug: skia:6704 Change-Id: Id3cefa643316e5676d2038a75240e16d929d6d63 Reviewed-on: https://skia-review.googlesource.com/20146 Commit-Queue: Eric Boren <borenet@google.com> Reviewed-by: Ravi Mistry <rmistry@google.com>
Diffstat (limited to 'infra/bots/recipes/skpbench.py')
-rw-r--r--infra/bots/recipes/skpbench.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/infra/bots/recipes/skpbench.py b/infra/bots/recipes/skpbench.py
index 1d416f7897..d4b134f735 100644
--- a/infra/bots/recipes/skpbench.py
+++ b/infra/bots/recipes/skpbench.py
@@ -11,12 +11,12 @@ import calendar
DEPS = [
'core',
- 'file',
'recipe_engine/context',
'recipe_engine/path',
'recipe_engine/properties',
'recipe_engine/python',
'recipe_engine/raw_io',
+ 'recipe_engine/shutil',
'recipe_engine/step',
'recipe_engine/time',
'run',
@@ -76,7 +76,7 @@ def skpbench_steps(api):
now = api.time.utcnow()
ts = int(calendar.timegm(now.utctimetuple()))
- api.file.makedirs('perf_dir', api.vars.perf_data_dir)
+ api.shutil.makedirs('perf_dir', api.vars.perf_data_dir, infra_step=True)
json_path = api.path.join(
api.vars.perf_data_dir,
'skpbench_%s_%d.json' % (api.vars.got_revision, ts))