summaryrefslogtreecommitdiff
path: root/tests/cachekey/project/elements/import1.expected
diff options
context:
space:
mode:
authorDarius Makovsky <traveltissues@protonmail.com>2019-11-04 11:47:01 +0000
committerDarius Makovsky <traveltissues@protonmail.com>2019-11-04 14:07:38 +0000
commit1a1d4592d32d96604aa72bc169388a8f5e42238d (patch)
tree7c062bca73572e9baa2114145474dfc5f66a89e8 /tests/cachekey/project/elements/import1.expected
parent861f9636a503f6dbd5acc132e2f8ba6743762216 (diff)
downloadbuildstream-1a1d4592d32d96604aa72bc169388a8f5e42238d.tar.gz
[WIP]Split dependencies into dependency-names and dependency-keystraveltissues/splitdepkeys
In Element._calculate_cache_key the dependency field of the cache key dictionary is replaced with the dependency-names field and the dependency-keys field. The first is only populated in the case where the weak dependencies are passed and the second is only populated when the strong dependencies are passed. Additionally, in the case where the element holds at least one source advertising BST_NO_REF, the new fields are both initialised to `[]` in order to correctly update dependencies. Failing to reinitialise dependency fields in this case will lead to erroneous dependencies from old states of BST_NO_REF sources.
Diffstat (limited to 'tests/cachekey/project/elements/import1.expected')
-rw-r--r--tests/cachekey/project/elements/import1.expected2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cachekey/project/elements/import1.expected b/tests/cachekey/project/elements/import1.expected
index ad2e9a9d8..8410d2fcb 100644
--- a/tests/cachekey/project/elements/import1.expected
+++ b/tests/cachekey/project/elements/import1.expected
@@ -1 +1 @@
-8f05d68de71fbd70661eb4a3516189d754c9ee76af42eff93ed9cde6c441e257 \ No newline at end of file
+d5ee4030265fdfd217ddd63e78d726f76a48729edf2fad3e38e2a27c41747838 \ No newline at end of file