You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2022/04/15 07:54:50 UTC

[buildstream-plugins] branch tristan/add-cachekey-tests created (now 65c7b29)

This is an automated email from the ASF dual-hosted git repository.

tvb pushed a change to branch tristan/add-cachekey-tests
in repository https://gitbox.apache.org/repos/asf/buildstream-plugins.git


      at 65c7b29  tests/cachekey: Adding cachekey tests

This branch includes the following new commits:

     new a6a285b  sources/pip.py: Support python3.9
     new 65c7b29  tests/cachekey: Adding cachekey tests

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[buildstream-plugins] 01/02: sources/pip.py: Support python3.9

Posted by tv...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch tristan/add-cachekey-tests
in repository https://gitbox.apache.org/repos/asf/buildstream-plugins.git

commit a6a285b978ac3cfa303ba880b7fda9b4fecd4af9
Author: Tristan van Berkom <tr...@codethink.co.uk>
AuthorDate: Fri Apr 15 16:33:39 2022 +0900

    sources/pip.py: Support python3.9
---
 src/buildstream_plugins/sources/pip.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/buildstream_plugins/sources/pip.py b/src/buildstream_plugins/sources/pip.py
index 32384af..330872c 100644
--- a/src/buildstream_plugins/sources/pip.py
+++ b/src/buildstream_plugins/sources/pip.py
@@ -86,6 +86,7 @@ _PYTHON_VERSIONS = [
     "python3.6",
     "python3.7",
     "python3.8",
+    "python3.9",
 ]
 
 # List of allowed extensions taken from


[buildstream-plugins] 02/02: tests/cachekey: Adding cachekey tests

Posted by tv...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch tristan/add-cachekey-tests
in repository https://gitbox.apache.org/repos/asf/buildstream-plugins.git

commit 65c7b2942393d6e70b246f6636fb653d98a4f11e
Author: Tristan van Berkom <tr...@codethink.co.uk>
AuthorDate: Wed Apr 13 17:28:03 2022 +0900

    tests/cachekey: Adding cachekey tests
---
 tests/cachekey/__init__.py                         |  0
 tests/cachekey/cachekey.py                         | 41 ++++++++++++++++++++++
 tests/cachekey/project/elements/autotools1.bst     |  4 +++
 .../cachekey/project/elements/autotools1.expected  |  1 +
 tests/cachekey/project/elements/cmake1.bst         |  4 +++
 tests/cachekey/project/elements/cmake1.expected    |  1 +
 tests/cachekey/project/elements/make1.bst          |  4 +++
 tests/cachekey/project/elements/make1.expected     |  1 +
 tests/cachekey/project/elements/meson1.bst         |  4 +++
 tests/cachekey/project/elements/meson1.expected    |  1 +
 tests/cachekey/project/elements/pip1.bst           |  4 +++
 tests/cachekey/project/elements/pip1.expected      |  1 +
 tests/cachekey/project/elements/setuptools1.bst    |  4 +++
 .../cachekey/project/elements/setuptools1.expected |  1 +
 tests/cachekey/project/files/local/etc/hello.conf  |  1 +
 .../project/files/local/etc/ponystyle.conf         |  1 +
 tests/cachekey/project/files/local/usr/bin/goodbye |  1 +
 tests/cachekey/project/files/local/usr/bin/hello   |  3 ++
 tests/cachekey/project/files/patches/patch.diff    |  7 ++++
 tests/cachekey/project/project.conf                | 24 +++++++++++++
 tests/cachekey/project/sources/bzr1.bst            |  6 ++++
 tests/cachekey/project/sources/bzr1.expected       |  1 +
 tests/cachekey/project/sources/cargo1.bst          | 10 ++++++
 tests/cachekey/project/sources/cargo1.expected     |  1 +
 tests/cachekey/project/sources/cargo2.bst          | 12 +++++++
 tests/cachekey/project/sources/cargo2.expected     |  1 +
 tests/cachekey/project/sources/docker1.bst         |  5 +++
 tests/cachekey/project/sources/docker1.expected    |  1 +
 tests/cachekey/project/sources/docker2.bst         |  7 ++++
 tests/cachekey/project/sources/docker2.expected    |  1 +
 tests/cachekey/project/sources/git1.bst            |  5 +++
 tests/cachekey/project/sources/git1.expected       |  1 +
 tests/cachekey/project/sources/git2.bst            |  9 +++++
 tests/cachekey/project/sources/git2.expected       |  1 +
 tests/cachekey/project/sources/patch1.bst          |  4 +++
 tests/cachekey/project/sources/patch1.expected     |  1 +
 tests/cachekey/project/sources/patch2.bst          |  6 ++++
 tests/cachekey/project/sources/patch2.expected     |  1 +
 tests/cachekey/project/sources/patch3.bst          |  6 ++++
 tests/cachekey/project/sources/patch3.expected     |  1 +
 tests/cachekey/project/sources/pip1.bst            | 12 +++++++
 tests/cachekey/project/sources/pip1.expected       |  1 +
 tests/cachekey/project/target.bst                  | 19 ++++++++++
 tests/cachekey/project/target.expected             |  1 +
 44 files changed, 221 insertions(+)

diff --git a/tests/cachekey/__init__.py b/tests/cachekey/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/tests/cachekey/cachekey.py b/tests/cachekey/cachekey.py
new file mode 100644
index 0000000..434fa34
--- /dev/null
+++ b/tests/cachekey/cachekey.py
@@ -0,0 +1,41 @@
+# Pylint doesn't play well with fixtures and dependency injection from pytest
+# pylint: disable=redefined-outer-name
+
+import os
+import pytest
+
+from buildstream._testing._cachekeys import check_cache_key_stability
+from buildstream._testing.runcli import cli  # pylint: disable=unused-import
+from buildstream._testing._utils.site import HAVE_BZR, HAVE_GIT, IS_LINUX, MACHINE_ARCH
+
+
+# Project directory
+DATA_DIR = os.path.join(
+    os.path.dirname(os.path.realpath(__file__)),
+    "project",
+)
+
+
+# The cache key test uses a project which exercises all plugins,
+# so we cant run it at all if we dont have them installed.
+#
+@pytest.mark.skipif(MACHINE_ARCH != "x86-64", reason="Cache keys depend on architecture")
+@pytest.mark.skipif(not IS_LINUX, reason="Only available on linux")
+@pytest.mark.skipif(HAVE_BZR is False, reason="bzr is not available")
+@pytest.mark.skipif(HAVE_GIT is False, reason="git is not available")
+@pytest.mark.datafiles(DATA_DIR)
+def test_cache_key(datafiles, cli):
+    project = str(datafiles)
+
+    # Workaround bug in recent versions of setuptools: newer
+    # versions of setuptools fail to preserve symbolic links
+    # when creating a source distribution, causing this test
+    # to fail from a dist tarball.
+    goodbye_link = os.path.join(project, "files", "local", "usr", "bin", "goodbye")
+    os.unlink(goodbye_link)
+    os.symlink("hello", goodbye_link)
+    # pytest-datafiles does not copy mode bits
+    # https://github.com/omarkohl/pytest-datafiles/issues/11
+    os.chmod(goodbye_link, 0o755)
+
+    check_cache_key_stability(project, cli)
diff --git a/tests/cachekey/project/elements/autotools1.bst b/tests/cachekey/project/elements/autotools1.bst
new file mode 100644
index 0000000..4a770e2
--- /dev/null
+++ b/tests/cachekey/project/elements/autotools1.bst
@@ -0,0 +1,4 @@
+kind: autotools
+sources:
+- kind: local
+  path: files/local
diff --git a/tests/cachekey/project/elements/autotools1.expected b/tests/cachekey/project/elements/autotools1.expected
new file mode 100644
index 0000000..08fee8f
--- /dev/null
+++ b/tests/cachekey/project/elements/autotools1.expected
@@ -0,0 +1 @@
+3e3bc343ab57dda2f9cb0c7ba84cbb46cfe6d6cf605f9abceabd60be5d9a2251
\ No newline at end of file
diff --git a/tests/cachekey/project/elements/cmake1.bst b/tests/cachekey/project/elements/cmake1.bst
new file mode 100644
index 0000000..c636788
--- /dev/null
+++ b/tests/cachekey/project/elements/cmake1.bst
@@ -0,0 +1,4 @@
+kind: cmake
+sources:
+- kind: local
+  path: files/local
diff --git a/tests/cachekey/project/elements/cmake1.expected b/tests/cachekey/project/elements/cmake1.expected
new file mode 100644
index 0000000..d341deb
--- /dev/null
+++ b/tests/cachekey/project/elements/cmake1.expected
@@ -0,0 +1 @@
+6fac3d771a8609854374e3c16a37b3dab28b55981b57672134e1445ca8c2f843
\ No newline at end of file
diff --git a/tests/cachekey/project/elements/make1.bst b/tests/cachekey/project/elements/make1.bst
new file mode 100644
index 0000000..d295885
--- /dev/null
+++ b/tests/cachekey/project/elements/make1.bst
@@ -0,0 +1,4 @@
+kind: make
+sources:
+- kind: local
+  path: files/local
diff --git a/tests/cachekey/project/elements/make1.expected b/tests/cachekey/project/elements/make1.expected
new file mode 100644
index 0000000..057a15a
--- /dev/null
+++ b/tests/cachekey/project/elements/make1.expected
@@ -0,0 +1 @@
+5284420dc85b732be170fcaea36ce1355b33566d0d14114272757a625ebe2822
\ No newline at end of file
diff --git a/tests/cachekey/project/elements/meson1.bst b/tests/cachekey/project/elements/meson1.bst
new file mode 100644
index 0000000..6df2ac3
--- /dev/null
+++ b/tests/cachekey/project/elements/meson1.bst
@@ -0,0 +1,4 @@
+kind: meson
+sources:
+- kind: local
+  path: files/local
diff --git a/tests/cachekey/project/elements/meson1.expected b/tests/cachekey/project/elements/meson1.expected
new file mode 100644
index 0000000..5e4452a
--- /dev/null
+++ b/tests/cachekey/project/elements/meson1.expected
@@ -0,0 +1 @@
+2a2b91ee1e72021ffa14984223608ba3ca6eefb645ad06f8ac756e261ad18558
\ No newline at end of file
diff --git a/tests/cachekey/project/elements/pip1.bst b/tests/cachekey/project/elements/pip1.bst
new file mode 100644
index 0000000..c9b4002
--- /dev/null
+++ b/tests/cachekey/project/elements/pip1.bst
@@ -0,0 +1,4 @@
+kind: pip
+sources:
+- kind: local
+  path: files/local
diff --git a/tests/cachekey/project/elements/pip1.expected b/tests/cachekey/project/elements/pip1.expected
new file mode 100644
index 0000000..470f245
--- /dev/null
+++ b/tests/cachekey/project/elements/pip1.expected
@@ -0,0 +1 @@
+7eecf3de0c676fd6ac8605cc8e9419ec9f37c9df093c9b2645d27c1bfd8d1637
\ No newline at end of file
diff --git a/tests/cachekey/project/elements/setuptools1.bst b/tests/cachekey/project/elements/setuptools1.bst
new file mode 100644
index 0000000..3f8bbfe
--- /dev/null
+++ b/tests/cachekey/project/elements/setuptools1.bst
@@ -0,0 +1,4 @@
+kind: setuptools
+sources:
+- kind: local
+  path: files/local
diff --git a/tests/cachekey/project/elements/setuptools1.expected b/tests/cachekey/project/elements/setuptools1.expected
new file mode 100644
index 0000000..cee1d81
--- /dev/null
+++ b/tests/cachekey/project/elements/setuptools1.expected
@@ -0,0 +1 @@
+9563eec1341f9716a76d5d5bfd2bec2f1b7aea5d723365aa953f470b0b2d7fa7
\ No newline at end of file
diff --git a/tests/cachekey/project/files/local/etc/hello.conf b/tests/cachekey/project/files/local/etc/hello.conf
new file mode 100644
index 0000000..aa535b2
--- /dev/null
+++ b/tests/cachekey/project/files/local/etc/hello.conf
@@ -0,0 +1 @@
+message = Hello
diff --git a/tests/cachekey/project/files/local/etc/ponystyle.conf b/tests/cachekey/project/files/local/etc/ponystyle.conf
new file mode 100644
index 0000000..08d69eb
--- /dev/null
+++ b/tests/cachekey/project/files/local/etc/ponystyle.conf
@@ -0,0 +1 @@
+pink
diff --git a/tests/cachekey/project/files/local/usr/bin/goodbye b/tests/cachekey/project/files/local/usr/bin/goodbye
new file mode 120000
index 0000000..b6fc4c6
--- /dev/null
+++ b/tests/cachekey/project/files/local/usr/bin/goodbye
@@ -0,0 +1 @@
+hello
\ No newline at end of file
diff --git a/tests/cachekey/project/files/local/usr/bin/hello b/tests/cachekey/project/files/local/usr/bin/hello
new file mode 100755
index 0000000..f534a40
--- /dev/null
+++ b/tests/cachekey/project/files/local/usr/bin/hello
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+echo "Hello !"
diff --git a/tests/cachekey/project/files/patches/patch.diff b/tests/cachekey/project/files/patches/patch.diff
new file mode 100644
index 0000000..6cc3691
--- /dev/null
+++ b/tests/cachekey/project/files/patches/patch.diff
@@ -0,0 +1,7 @@
+--- a/usr/bin/hello
++++ b/usr/bin/hello
+@@ -1,3 +1,3 @@
+ #!/bin/bash
+ 
+-echo "Hello !"
++echo "Bye !"
diff --git a/tests/cachekey/project/project.conf b/tests/cachekey/project/project.conf
new file mode 100644
index 0000000..9158527
--- /dev/null
+++ b/tests/cachekey/project/project.conf
@@ -0,0 +1,24 @@
+# Project config for cache key test
+name: cachekey
+min-version: 2.0
+
+aliases:
+  upstream: https://up.stream.org/
+
+plugins:
+- origin: pip
+  package-name: buildstream-plugins
+  sources:
+  - bzr
+  - cargo
+  - docker
+  - git
+  - patch
+  - pip
+  elements:
+  - autotools
+  - cmake
+  - make
+  - meson
+  - pip
+  - setuptools
diff --git a/tests/cachekey/project/sources/bzr1.bst b/tests/cachekey/project/sources/bzr1.bst
new file mode 100644
index 0000000..4798d8a
--- /dev/null
+++ b/tests/cachekey/project/sources/bzr1.bst
@@ -0,0 +1,6 @@
+kind: import
+sources:
+- kind: bzr
+  url: https://launchpad.net/bzr
+  track: trunk
+  ref: 6622
diff --git a/tests/cachekey/project/sources/bzr1.expected b/tests/cachekey/project/sources/bzr1.expected
new file mode 100644
index 0000000..dcad774
--- /dev/null
+++ b/tests/cachekey/project/sources/bzr1.expected
@@ -0,0 +1 @@
+a8ca1b3d852de71c0d97fbdddfe86f815a8edc62acf5aebbdcca1972a1627b12
\ No newline at end of file
diff --git a/tests/cachekey/project/sources/cargo1.bst b/tests/cachekey/project/sources/cargo1.bst
new file mode 100644
index 0000000..42f60fc
--- /dev/null
+++ b/tests/cachekey/project/sources/cargo1.bst
@@ -0,0 +1,10 @@
+kind: import
+sources:
+- kind: local
+  path: files/local
+- kind: cargo
+  url: upstream:crates
+  ref:
+  - name: foo
+    version: 1.0
+    sha: thisisthecratesha
diff --git a/tests/cachekey/project/sources/cargo1.expected b/tests/cachekey/project/sources/cargo1.expected
new file mode 100644
index 0000000..b960ff2
--- /dev/null
+++ b/tests/cachekey/project/sources/cargo1.expected
@@ -0,0 +1 @@
+c9dab623d072f344535cac516927f1d76b57f17d52ec7ea609aea12aae0219e3
\ No newline at end of file
diff --git a/tests/cachekey/project/sources/cargo2.bst b/tests/cachekey/project/sources/cargo2.bst
new file mode 100644
index 0000000..05e9e75
--- /dev/null
+++ b/tests/cachekey/project/sources/cargo2.bst
@@ -0,0 +1,12 @@
+kind: import
+sources:
+- kind: local
+  path: files/local
+- kind: cargo
+  url: upstream:crates
+  vendor-dir: ponies
+  cargo-lock: Pony.lock
+  ref:
+  - name: foo
+    version: 1.0
+    sha: thisisthecratesha
diff --git a/tests/cachekey/project/sources/cargo2.expected b/tests/cachekey/project/sources/cargo2.expected
new file mode 100644
index 0000000..815499e
--- /dev/null
+++ b/tests/cachekey/project/sources/cargo2.expected
@@ -0,0 +1 @@
+5f99111cee9fe19f5883146c5f52d99f3b02bd8721c375952bdf7583a7aaa5eb
\ No newline at end of file
diff --git a/tests/cachekey/project/sources/docker1.bst b/tests/cachekey/project/sources/docker1.bst
new file mode 100644
index 0000000..ad9cb7f
--- /dev/null
+++ b/tests/cachekey/project/sources/docker1.bst
@@ -0,0 +1,5 @@
+kind: import
+sources:
+- kind: docker
+  image: theimage
+  ref: thisistheimagedigest
diff --git a/tests/cachekey/project/sources/docker1.expected b/tests/cachekey/project/sources/docker1.expected
new file mode 100644
index 0000000..66f7252
--- /dev/null
+++ b/tests/cachekey/project/sources/docker1.expected
@@ -0,0 +1 @@
+3683afdc595c3fee1edc66c82eee96305b7bba82b1a62b5a5c1c23e41116147d
\ No newline at end of file
diff --git a/tests/cachekey/project/sources/docker2.bst b/tests/cachekey/project/sources/docker2.bst
new file mode 100644
index 0000000..9db6891
--- /dev/null
+++ b/tests/cachekey/project/sources/docker2.bst
@@ -0,0 +1,7 @@
+kind: import
+sources:
+- kind: docker
+  registry-url: upstream:images
+  image: theimage
+  ref: thisistheimagedigest
+  track: latest
diff --git a/tests/cachekey/project/sources/docker2.expected b/tests/cachekey/project/sources/docker2.expected
new file mode 100644
index 0000000..d30779a
--- /dev/null
+++ b/tests/cachekey/project/sources/docker2.expected
@@ -0,0 +1 @@
+c6db8e8be848124849c3c21738bde30327c808a65bb2db19660d647fae8c0248
\ No newline at end of file
diff --git a/tests/cachekey/project/sources/git1.bst b/tests/cachekey/project/sources/git1.bst
new file mode 100644
index 0000000..8763f64
--- /dev/null
+++ b/tests/cachekey/project/sources/git1.bst
@@ -0,0 +1,5 @@
+kind: import
+sources:
+- kind: git
+  url: https://example.com/git/repo.git
+  ref: 6ac68af3e80b7b17c23a3c65233043550a7fa685
diff --git a/tests/cachekey/project/sources/git1.expected b/tests/cachekey/project/sources/git1.expected
new file mode 100644
index 0000000..7cb0871
--- /dev/null
+++ b/tests/cachekey/project/sources/git1.expected
@@ -0,0 +1 @@
+d6dbf52d5f2f4cd72ae392ddef0bd8e3b98675bcb71f4a35901e10c0e4763cbe
\ No newline at end of file
diff --git a/tests/cachekey/project/sources/git2.bst b/tests/cachekey/project/sources/git2.bst
new file mode 100644
index 0000000..130ccf3
--- /dev/null
+++ b/tests/cachekey/project/sources/git2.bst
@@ -0,0 +1,9 @@
+kind: import
+sources:
+- kind: git
+  url: https://example.com/git/repo.git
+  ref: 6ac68af3e80b7b17c23a3c65233043550a7fa685
+
+  submodules:
+    plugins/foo:
+      url: upstream:foo.git
diff --git a/tests/cachekey/project/sources/git2.expected b/tests/cachekey/project/sources/git2.expected
new file mode 100644
index 0000000..c155b4c
--- /dev/null
+++ b/tests/cachekey/project/sources/git2.expected
@@ -0,0 +1 @@
+903f877bccb673d258b52a95e282bada0c0be1ffae62d30c21791c2d326c8c0a
\ No newline at end of file
diff --git a/tests/cachekey/project/sources/patch1.bst b/tests/cachekey/project/sources/patch1.bst
new file mode 100644
index 0000000..255eeb2
--- /dev/null
+++ b/tests/cachekey/project/sources/patch1.bst
@@ -0,0 +1,4 @@
+kind: import
+sources:
+- kind: patch
+  path: files/patches/patch.diff
diff --git a/tests/cachekey/project/sources/patch1.expected b/tests/cachekey/project/sources/patch1.expected
new file mode 100644
index 0000000..4105aa7
--- /dev/null
+++ b/tests/cachekey/project/sources/patch1.expected
@@ -0,0 +1 @@
+ebe10de8ffc95d9d0e3472db032a4eda5e21b6dd36fade5e97fca08745a70552
\ No newline at end of file
diff --git a/tests/cachekey/project/sources/patch2.bst b/tests/cachekey/project/sources/patch2.bst
new file mode 100644
index 0000000..faab3a2
--- /dev/null
+++ b/tests/cachekey/project/sources/patch2.bst
@@ -0,0 +1,6 @@
+kind: import
+sources:
+- kind: patch
+  path: files/patches/patch.diff
+  directory: usr/bin
+  strip-level: 1
diff --git a/tests/cachekey/project/sources/patch2.expected b/tests/cachekey/project/sources/patch2.expected
new file mode 100644
index 0000000..8710f42
--- /dev/null
+++ b/tests/cachekey/project/sources/patch2.expected
@@ -0,0 +1 @@
+db89febc96247d6b0730c7d21041cfef074256866e20aff8372207b962aacd14
\ No newline at end of file
diff --git a/tests/cachekey/project/sources/patch3.bst b/tests/cachekey/project/sources/patch3.bst
new file mode 100644
index 0000000..cd22c6b
--- /dev/null
+++ b/tests/cachekey/project/sources/patch3.bst
@@ -0,0 +1,6 @@
+kind: import
+sources:
+- kind: patch
+  path: files/patches/patch.diff
+  directory: usr/bin
+  strip-level: 3
diff --git a/tests/cachekey/project/sources/patch3.expected b/tests/cachekey/project/sources/patch3.expected
new file mode 100644
index 0000000..19b94ad
--- /dev/null
+++ b/tests/cachekey/project/sources/patch3.expected
@@ -0,0 +1 @@
+381a0bab35e9e91a9746bd1b6611d773fa6c77aff0317764b9a0379762be16c9
\ No newline at end of file
diff --git a/tests/cachekey/project/sources/pip1.bst b/tests/cachekey/project/sources/pip1.bst
new file mode 100644
index 0000000..ee69efa
--- /dev/null
+++ b/tests/cachekey/project/sources/pip1.bst
@@ -0,0 +1,12 @@
+kind: import
+
+sources:
+- kind: git
+  url: https://example.com/foo/foobar.git
+  ref: b99955530263172ed1beae52aed7a33885ef781f
+- kind: pip
+  url: https://pypi.example.com/simple
+  packages:
+  - horses
+  - ponies
+  ref: 'horses==0.0.1\nponies==0.0.2'
diff --git a/tests/cachekey/project/sources/pip1.expected b/tests/cachekey/project/sources/pip1.expected
new file mode 100644
index 0000000..ee2f814
--- /dev/null
+++ b/tests/cachekey/project/sources/pip1.expected
@@ -0,0 +1 @@
+99c354c584dddbebe32f36005211dafce09847ea4b4c5003191eb585a1c81576
\ No newline at end of file
diff --git a/tests/cachekey/project/target.bst b/tests/cachekey/project/target.bst
new file mode 100644
index 0000000..9c62933
--- /dev/null
+++ b/tests/cachekey/project/target.bst
@@ -0,0 +1,19 @@
+kind: stack
+
+depends:
+- sources/bzr1.bst
+- sources/cargo1.bst
+- sources/cargo2.bst
+- sources/docker1.bst
+- sources/docker2.bst
+- sources/git1.bst
+- sources/git2.bst
+- sources/patch1.bst
+- sources/patch2.bst
+- sources/patch3.bst
+- sources/pip1.bst
+- elements/autotools1.bst
+- elements/cmake1.bst
+- elements/make1.bst
+- elements/meson1.bst
+- elements/pip1.bst
diff --git a/tests/cachekey/project/target.expected b/tests/cachekey/project/target.expected
new file mode 100644
index 0000000..45611cb
--- /dev/null
+++ b/tests/cachekey/project/target.expected
@@ -0,0 +1 @@
+93d602b22b87cfe4aa8a3826a8ca4190e8a594a1d4baf8b89b0f657c0b923253
\ No newline at end of file