summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2017-12-07 14:13:10 +0000
committerJürg Billeter <j@bitron.ch>2017-12-12 08:10:24 +0100
commit594636243abe42a063bc36716e6adb18b7204093 (patch)
tree187e81e14e4a935c906c64aa60b74a445743ca8a
parent8aa2fbc98b57a8c3f9392bb12ca77b0f47a7d602 (diff)
downloadbuildstream-594636243abe42a063bc36716e6adb18b7204093.tar.gz
tests/testutils/artifactshare.py: Always create summary file for test caches
Pulls will fail from the cache if there's no summary file, so we should always create one. If you need a cache that breaks when pulled from, pass an empty directory that hasn't been initialized as a repo at all.
-rw-r--r--tests/testutils/artifactshare.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testutils/artifactshare.py b/tests/testutils/artifactshare.py
index 2ddd8c566..907ed7671 100644
--- a/tests/testutils/artifactshare.py
+++ b/tests/testutils/artifactshare.py
@@ -38,6 +38,7 @@ class ArtifactShare():
os.makedirs(self.repo)
self.init()
+ self.update_summary()
# init():
#