summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin David <valentin.david@codethink.co.uk>2019-01-21 12:30:19 +0100
committerValentin David <valentin.david@gmail.com>2019-01-24 13:19:34 +0000
commit6a556d8cb817f4636151918ab14d6ba8f335d835 (patch)
treee8d3fae2c7489ed7a78ef6e64fe1ac4718582f13
parent40c18174722ea54d54e5f2e9c458f7fbaa4c5e2d (diff)
downloadbuildstream-valentindavid/make_cache_dir.tar.gz
Make sure testing cache directory existsvalentindavid/make_cache_dir
Fixes #873
-rwxr-xr-xconftest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/conftest.py b/conftest.py
index 6e6e3b08f..6fc24c2d6 100755
--- a/conftest.py
+++ b/conftest.py
@@ -54,6 +54,7 @@ class IntegrationCache():
def __init__(self, cache):
cache = os.path.abspath(cache)
+ os.makedirs(cache, exist_ok=True)
# Use the same sources every time
self.sources = os.path.join(cache, 'sources')