diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-03-25 18:09:41 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-03-25 18:09:41 +0900 |
commit | 094d878aa44c6dac759d2cb77a6972a481c9c8a2 (patch) | |
tree | a6fd69c0533a784865cd936c40cf79126855a842 | |
parent | c9b5692e7dd632ea1115fcb0e3e91f01b3fbac3b (diff) | |
download | buildstream-094d878aa44c6dac759d2cb77a6972a481c9c8a2.tar.gz |
tests/cachekey: Added test to exercise new sandbox contributions to cache key
-rw-r--r-- | tests/cachekey/project/elements/build2.bst | 15 | ||||
-rw-r--r-- | tests/cachekey/project/elements/build2.expected | 1 | ||||
-rw-r--r-- | tests/cachekey/project/target.bst | 1 | ||||
-rw-r--r-- | tests/cachekey/project/target.expected | 2 |
4 files changed, 18 insertions, 1 deletions
diff --git a/tests/cachekey/project/elements/build2.bst b/tests/cachekey/project/elements/build2.bst new file mode 100644 index 000000000..3940b11ba --- /dev/null +++ b/tests/cachekey/project/elements/build2.bst @@ -0,0 +1,15 @@ +# This tests that sandbox build-uid / build-gid +# contributions to the cache key do not regress. +# +kind: manual +sources: +- kind: local + path: files/local + +config: + build-commands: + - make + +sandbox: + build-uid: 20 + build-gid: 20 diff --git a/tests/cachekey/project/elements/build2.expected b/tests/cachekey/project/elements/build2.expected new file mode 100644 index 000000000..265cc2e6c --- /dev/null +++ b/tests/cachekey/project/elements/build2.expected @@ -0,0 +1 @@ +851f173aad27a6636489ddc20cb3d7396ebba60d10c1c657309451df1a3fdf24
\ No newline at end of file diff --git a/tests/cachekey/project/target.bst b/tests/cachekey/project/target.bst index d49abc8ca..325cd235e 100644 --- a/tests/cachekey/project/target.bst +++ b/tests/cachekey/project/target.bst @@ -18,6 +18,7 @@ depends: - sources/zip1.bst - sources/zip2.bst - elements/build1.bst +- elements/build2.bst - elements/compose1.bst - elements/compose2.bst - elements/compose3.bst diff --git a/tests/cachekey/project/target.expected b/tests/cachekey/project/target.expected index e963f04f1..498765dc1 100644 --- a/tests/cachekey/project/target.expected +++ b/tests/cachekey/project/target.expected @@ -1 +1 @@ -ad24471b89fa5fa27ea4d355e13a687e91d2cd55aad051230190b495d2e0044a
\ No newline at end of file +19ef59d28a4af5995c099190ec4f146069c1f7219fc83faf10f71ee88f083da1
\ No newline at end of file |