summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-01-29 08:18:45 +0000
committerJürg Billeter <j@bitron.ch>2019-01-29 08:18:45 +0000
commit6a4c86118380d95bdedd11e60f3a771fdae225a3 (patch)
tree0f1d309f5dbf90681920270be6d220aa422281a3
parent785da59c98b511b47fd97eeae2724eed310db9fa (diff)
parentddef91ea1fbf0dc51e1150d1602f470853036f73 (diff)
downloadbuildstream-6a4c86118380d95bdedd11e60f3a771fdae225a3.tar.gz
Merge branch 'valentindavid/make_cache_dir' into 'master'
Make sure testing cache directory exists Closes #873 See merge request BuildStream/buildstream!1092
-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')