summaryrefslogtreecommitdiff
path: root/tests/format/dependencies3
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2019-08-08 10:26:25 +0100
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2019-08-08 15:47:48 +0100
commitc9e53fee362f93414b2dc3c7289bb68aadc65b55 (patch)
tree63b18aee77d324815f10a0278b539729b771c08b /tests/format/dependencies3
parentb3fe4cadc1abac6dc4c523f0d9b2b191cbb8fd3f (diff)
downloadbuildstream-c9e53fee362f93414b2dc3c7289bb68aadc65b55.tar.gz
tests: Add test for DUPLICATE_DEPENDENCY verification
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
Diffstat (limited to 'tests/format/dependencies3')
-rw-r--r--tests/format/dependencies3/all-all.bst11
-rw-r--r--tests/format/dependencies3/build-all.bst11
-rw-r--r--tests/format/dependencies3/build-build.bst11
-rw-r--r--tests/format/dependencies3/build-runtime.bst11
-rw-r--r--tests/format/dependencies3/dep.bst4
-rw-r--r--tests/format/dependencies3/project.conf1
-rw-r--r--tests/format/dependencies3/runtime-all.bst11
-rw-r--r--tests/format/dependencies3/runtime-runtime.bst11
8 files changed, 71 insertions, 0 deletions
diff --git a/tests/format/dependencies3/all-all.bst b/tests/format/dependencies3/all-all.bst
new file mode 100644
index 000000000..98122472d
--- /dev/null
+++ b/tests/format/dependencies3/all-all.bst
@@ -0,0 +1,11 @@
+kind: import
+
+sources:
+- kind: local
+ path: all-all.bst
+
+depends:
+- filename: dep.bst
+ type: all
+- filename: dep.bst
+ type: all
diff --git a/tests/format/dependencies3/build-all.bst b/tests/format/dependencies3/build-all.bst
new file mode 100644
index 000000000..4c66524e7
--- /dev/null
+++ b/tests/format/dependencies3/build-all.bst
@@ -0,0 +1,11 @@
+kind: import
+
+sources:
+- kind: local
+ path: all-all.bst
+
+depends:
+- filename: dep.bst
+ type: build
+- filename: dep.bst
+ type: all
diff --git a/tests/format/dependencies3/build-build.bst b/tests/format/dependencies3/build-build.bst
new file mode 100644
index 000000000..2a813b3ab
--- /dev/null
+++ b/tests/format/dependencies3/build-build.bst
@@ -0,0 +1,11 @@
+kind: import
+
+sources:
+- kind: local
+ path: all-all.bst
+
+depends:
+- filename: dep.bst
+ type: build
+- filename: dep.bst
+ type: build
diff --git a/tests/format/dependencies3/build-runtime.bst b/tests/format/dependencies3/build-runtime.bst
new file mode 100644
index 000000000..f740736d8
--- /dev/null
+++ b/tests/format/dependencies3/build-runtime.bst
@@ -0,0 +1,11 @@
+kind: import
+
+sources:
+- kind: local
+ path: all-all.bst
+
+depends:
+- filename: dep.bst
+ type: build
+- filename: dep.bst
+ type: runtime
diff --git a/tests/format/dependencies3/dep.bst b/tests/format/dependencies3/dep.bst
new file mode 100644
index 000000000..f4f9f6862
--- /dev/null
+++ b/tests/format/dependencies3/dep.bst
@@ -0,0 +1,4 @@
+kind: import
+sources:
+- kind: local
+ path: project.conf
diff --git a/tests/format/dependencies3/project.conf b/tests/format/dependencies3/project.conf
new file mode 100644
index 000000000..d9f7e08cb
--- /dev/null
+++ b/tests/format/dependencies3/project.conf
@@ -0,0 +1 @@
+name: dup-dup-checker
diff --git a/tests/format/dependencies3/runtime-all.bst b/tests/format/dependencies3/runtime-all.bst
new file mode 100644
index 000000000..c08594623
--- /dev/null
+++ b/tests/format/dependencies3/runtime-all.bst
@@ -0,0 +1,11 @@
+kind: import
+
+sources:
+- kind: local
+ path: all-all.bst
+
+depends:
+- filename: dep.bst
+ type: runtime
+- filename: dep.bst
+ type: all
diff --git a/tests/format/dependencies3/runtime-runtime.bst b/tests/format/dependencies3/runtime-runtime.bst
new file mode 100644
index 000000000..d01181f9b
--- /dev/null
+++ b/tests/format/dependencies3/runtime-runtime.bst
@@ -0,0 +1,11 @@
+kind: import
+
+sources:
+- kind: local
+ path: all-all.bst
+
+depends:
+- filename: dep.bst
+ type: runtime
+- filename: dep.bst
+ type: runtime