summaryrefslogtreecommitdiff
path: root/tests/sources/project
diff options
context:
space:
mode:
authorPhil Dawson <phil.dawson@codethink.co.uk>2019-03-08 11:39:41 +0000
committerPhil Dawson <phil.dawson@codethink.co.uk>2019-03-14 10:13:44 +0000
commit4a873b9f5f4e55ec5c7bd1a3614c50da3ffdf4ca (patch)
tree3a092fb662fe1309f732c2c052fb17e98cf3ed5d /tests/sources/project
parent44cd48f686ee21dcece50d08b6907057fffec661 (diff)
downloadbuildstream-4a873b9f5f4e55ec5c7bd1a3614c50da3ffdf4ca.tar.gz
tests: move templated tests from workspace.py into separate filephil/consolidate-repo-tests
Move the templated tests in tests/frontend/workspace.py into sources/generic/workspace.py This is part of the preparation work for #944
Diffstat (limited to 'tests/sources/project')
-rw-r--r--tests/sources/project/elements/base.bst5
-rw-r--r--tests/sources/project/elements/base/base-alpine.bst17
2 files changed, 22 insertions, 0 deletions
diff --git a/tests/sources/project/elements/base.bst b/tests/sources/project/elements/base.bst
new file mode 100644
index 000000000..428afa736
--- /dev/null
+++ b/tests/sources/project/elements/base.bst
@@ -0,0 +1,5 @@
+# elements/base.bst
+
+kind: stack
+depends:
+ - base/base-alpine.bst
diff --git a/tests/sources/project/elements/base/base-alpine.bst b/tests/sources/project/elements/base/base-alpine.bst
new file mode 100644
index 000000000..c5833095d
--- /dev/null
+++ b/tests/sources/project/elements/base/base-alpine.bst
@@ -0,0 +1,17 @@
+kind: import
+
+description: |
+ Alpine Linux base for tests
+
+ Generated using the `tests/integration-tests/base/generate-base.sh` script.
+
+sources:
+ - kind: tar
+ base-dir: ''
+ (?):
+ - arch == "x86-64":
+ ref: 3eb559250ba82b64a68d86d0636a6b127aa5f6d25d3601a79f79214dc9703639
+ url: "alpine:integration-tests-base.v1.x86_64.tar.xz"
+ - arch == "aarch64":
+ ref: 431fb5362032ede6f172e70a3258354a8fd71fcbdeb1edebc0e20968c792329a
+ url: "alpine:integration-tests-base.v1.aarch64.tar.xz"