diff options
author | Robert Iannucci <iannucci@google.com> | 2017-07-07 14:36:58 -0700 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-07-10 13:46:35 +0000 |
commit | 8cd50418afc6bf07448beb5980ac1d6c1f9fbd86 (patch) | |
tree | d66422c329b76e8e1849da69675d800575019b31 /infra/bots/recipes/test.py | |
parent | 818ac5a00dfd570d2b291b7524a70ecd4ef55770 (diff) |
Remove dependency on recipe_engine/shutil.
R=borenet@google.com
Bug: chromium:739984
Change-Id: I077c4e6f494eb7e93851201120048ba1ef5faa07
Reviewed-on: https://skia-review.googlesource.com/21921
Commit-Queue: Eric Boren <borenet@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
Diffstat (limited to 'infra/bots/recipes/test.py')
-rw-r--r-- | infra/bots/recipes/test.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/infra/bots/recipes/test.py b/infra/bots/recipes/test.py index e2a42d98c2..82ebfcde1a 100644 --- a/infra/bots/recipes/test.py +++ b/infra/bots/recipes/test.py @@ -11,13 +11,13 @@ DEPS = [ 'env', 'flavor', 'recipe_engine/context', + 'recipe_engine/file', 'recipe_engine/json', 'recipe_engine/path', 'recipe_engine/platform', 'recipe_engine/properties', 'recipe_engine/python', 'recipe_engine/raw_io', - 'recipe_engine/shutil', 'recipe_engine/step', 'run', 'vars', @@ -606,10 +606,9 @@ def test_steps(api): hash_filename = 'uninteresting_hashes.txt' # Ensure that the tmp_dir exists. - api.run.run_once(api.shutil.makedirs, - 'tmp_dir', - api.vars.tmp_dir, - infra_step=True) + api.run.run_once(api.file.ensure_directory, + 'makedirs tmp_dir', + api.vars.tmp_dir) host_hashes_file = api.vars.tmp_dir.join(hash_filename) hashes_file = api.flavor.device_path_join( |