diff options
author | borenet <borenet@google.com> | 2016-02-29 08:39:27 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-29 08:39:27 -0800 |
commit | c0cb60d4531a410f20cd07205e7d702b1bbc75de (patch) | |
tree | 6ec3c906baddae4b6441ecab98d12784ab5be1d1 /infra | |
parent | 17597fe29dbdf03ba2842a9193705200c4db5fbb (diff) |
Swarming Tests: create tmp dir if it doesn't exist
TBR=rmistry
NOTRY=true
BUG=skia:4763
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1749623003
Review URL: https://codereview.chromium.org/1749623003
Diffstat (limited to 'infra')
-rw-r--r-- | infra/bots/common.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/infra/bots/common.py b/infra/bots/common.py index 24d4996058..2748c54099 100644 --- a/infra/bots/common.py +++ b/infra/bots/common.py @@ -295,6 +295,8 @@ class BotInfo(object): self.flavor.create_clean_device_dir(self.device_dirs.dm_dir) # Obtain the list of already-generated hashes. + if not os.path.isdir(self.tmp_dir): + os.makedirs(self.tmp_dir) hash_filename = 'uninteresting_hashes.txt' host_hashes_file = os.path.join(self.tmp_dir, hash_filename) hashes_file = self.flavor.device_path_join( |