summaryrefslogtreecommitdiff
path: root/tests/cachekey
diff options
context:
space:
mode:
authorPhillip Smyth <phillip.smyth@codethink.co.uk>2018-03-07 15:02:01 +0000
committerPhillip Smyth <phillip.smyth@codethink.co.uk>2018-03-26 15:27:47 +0000
commitb0e6a45e7d34ef969734bc5c607ce97a229a4f77 (patch)
treef87ede105b8912851530a702f945aa614d344516 /tests/cachekey
parente91dc8336074d22126e559a29e23ef2d52c5506a (diff)
downloadbuildstream-b0e6a45e7d34ef969734bc5c607ce97a229a4f77.tar.gz
Generate unique subdirs for built elements
Based on issue 89 (https://gitlab.com/BuildStream/buildstream/issues/89) Ensuring that elements are staged into unique subdirs while building. This patch supports that by doing the following: * Modify project config to add 2 new variables ("project-name" and "element-name") * Changed the default install-root from "/buildstream/install" to "/buildstream-install" * Update the tests to accommodate these changes * Update the expected cache keys in the tests This fixes #89
Diffstat (limited to 'tests/cachekey')
-rw-r--r--tests/cachekey/project/elements/build1.expected2
-rw-r--r--tests/cachekey/project/elements/build2.expected2
-rw-r--r--tests/cachekey/project/elements/script1.expected2
-rw-r--r--tests/cachekey/project/target.expected2
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/cachekey/project/elements/build1.expected b/tests/cachekey/project/elements/build1.expected
index aeab7df30..a5d0bdba8 100644
--- a/tests/cachekey/project/elements/build1.expected
+++ b/tests/cachekey/project/elements/build1.expected
@@ -1 +1 @@
-4fa7a6fd4c7a499208be4ce0deb26f7ae2fad3bfe2a0579f95207e01189731f4 \ No newline at end of file
+e627300631f39b713fc5aac9446efeda96b1c3f92ef3f2200a074539e49beaf7
diff --git a/tests/cachekey/project/elements/build2.expected b/tests/cachekey/project/elements/build2.expected
index 265cc2e6c..02e4b5577 100644
--- a/tests/cachekey/project/elements/build2.expected
+++ b/tests/cachekey/project/elements/build2.expected
@@ -1 +1 @@
-851f173aad27a6636489ddc20cb3d7396ebba60d10c1c657309451df1a3fdf24 \ No newline at end of file
+b5ba1cfe2e4cce33baf793c5d69c840c4339ad57bbc8fee1fb7adef44d4821d0
diff --git a/tests/cachekey/project/elements/script1.expected b/tests/cachekey/project/elements/script1.expected
index bdcdc75fd..e2b80ddb4 100644
--- a/tests/cachekey/project/elements/script1.expected
+++ b/tests/cachekey/project/elements/script1.expected
@@ -1 +1 @@
-465988b4812a13871f2c3e840a3b9ae6d95e04f2f0a5e4b5a61f45a8b3a4098d \ No newline at end of file
+b8d8400afa31654600cb5eb3f1fbc7165e2316ba759cca197e6e5f54fd4cfd04
diff --git a/tests/cachekey/project/target.expected b/tests/cachekey/project/target.expected
index 498765dc1..5ecbc0a3a 100644
--- a/tests/cachekey/project/target.expected
+++ b/tests/cachekey/project/target.expected
@@ -1 +1 @@
-19ef59d28a4af5995c099190ec4f146069c1f7219fc83faf10f71ee88f083da1 \ No newline at end of file
+8eabd313b3c2c744450fef4c5b52d68babe6d39a278e80e39f5ef886fd49e799