summaryrefslogtreecommitdiff
path: root/tests/format
diff options
context:
space:
mode:
authorBenjamin Schubert <contact@benschubert.me>2019-10-04 18:11:10 +0100
committerBenjamin Schubert <contact@benschubert.me>2019-10-08 16:18:21 +0100
commitcc716013027a27487cce00abbe6011eed6d73e55 (patch)
treefaac6038b22f331d185bc5616c2f7d04d2b38eaf /tests/format
parenta57f27e396f9c19bd553687e8ae85b3b0d01e6e0 (diff)
downloadbuildstream-bschubert/fix-empty-buildtree.tar.gz
_artifactcache.py: Don't push artifact blobs when no files are presentbschubert/fix-empty-buildtree
Previously, if an artifact proto had no files at all in it, we would fail at pushing it, making BuildStream crash. When no files are part of an artifact proto, we can short-circuit the call and avoid pushing them unecessarily. - Add a test to ensure this doesn't come back.
Diffstat (limited to 'tests/format')
0 files changed, 0 insertions, 0 deletions