summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin David <valentin.david@codethink.co.uk>2019-01-21 12:30:19 +0100
committerJürg Billeter <j@bitron.ch>2019-01-29 07:23:35 +0000
commitddef91ea1fbf0dc51e1150d1602f470853036f73 (patch)
tree0f1d309f5dbf90681920270be6d220aa422281a3
parent785da59c98b511b47fd97eeae2724eed310db9fa (diff)
downloadbuildstream-ddef91ea1fbf0dc51e1150d1602f470853036f73.tar.gz
Make sure testing cache directory exists
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')