summaryrefslogtreecommitdiff
path: root/tests/frontend/overlaps
diff options
context:
space:
mode:
authorJonathan Maw <jonathan.maw@codethink.co.uk>2017-11-29 14:14:07 +0000
committerJonathan Maw <jonathan.maw@codethink.co.uk>2017-12-01 18:24:37 +0000
commit74f1c9340ea47a1cbe52d0fce4ccfd598165571f (patch)
tree388efd5797f068d8f83a0195423d9fb4b501742d /tests/frontend/overlaps
parentcf82ea997e87a80027ef87cb742c3406e4ec60d6 (diff)
downloadbuildstream-74f1c9340ea47a1cbe52d0fce4ccfd598165571f.tar.gz
Diffstat (limited to 'tests/frontend/overlaps')
-rw-r--r--tests/frontend/overlaps/collect.bst9
-rw-r--r--tests/frontend/overlaps/one.bst7
-rw-r--r--tests/frontend/overlaps/one/file11
-rw-r--r--tests/frontend/overlaps/one/file21
-rw-r--r--tests/frontend/overlaps/project.conf3
-rw-r--r--tests/frontend/overlaps/three.bst7
-rw-r--r--tests/frontend/overlaps/three/file11
-rw-r--r--tests/frontend/overlaps/three/file21
-rw-r--r--tests/frontend/overlaps/three/file31
-rw-r--r--tests/frontend/overlaps/two.bst7
-rw-r--r--tests/frontend/overlaps/two/file21
-rw-r--r--tests/frontend/overlaps/two/file31
12 files changed, 40 insertions, 0 deletions
diff --git a/tests/frontend/overlaps/collect.bst b/tests/frontend/overlaps/collect.bst
new file mode 100644
index 000000000..e0f8186ff
--- /dev/null
+++ b/tests/frontend/overlaps/collect.bst
@@ -0,0 +1,9 @@
+kind: compose
+
+depends:
+- filename: one.bst
+ type: build
+- filename: two.bst
+ type: build
+- filename: three.bst
+ type: build
diff --git a/tests/frontend/overlaps/one.bst b/tests/frontend/overlaps/one.bst
new file mode 100644
index 000000000..292970707
--- /dev/null
+++ b/tests/frontend/overlaps/one.bst
@@ -0,0 +1,7 @@
+kind: import
+config:
+ source: /
+ target: /
+sources:
+- kind: local
+ path: one
diff --git a/tests/frontend/overlaps/one/file1 b/tests/frontend/overlaps/one/file1
new file mode 100644
index 000000000..257cc5642
--- /dev/null
+++ b/tests/frontend/overlaps/one/file1
@@ -0,0 +1 @@
+foo
diff --git a/tests/frontend/overlaps/one/file2 b/tests/frontend/overlaps/one/file2
new file mode 100644
index 000000000..5716ca598
--- /dev/null
+++ b/tests/frontend/overlaps/one/file2
@@ -0,0 +1 @@
+bar
diff --git a/tests/frontend/overlaps/project.conf b/tests/frontend/overlaps/project.conf
new file mode 100644
index 000000000..2027cc27a
--- /dev/null
+++ b/tests/frontend/overlaps/project.conf
@@ -0,0 +1,3 @@
+# Basic project configuration that doesnt override anything
+#
+name: pony
diff --git a/tests/frontend/overlaps/three.bst b/tests/frontend/overlaps/three.bst
new file mode 100644
index 000000000..07eb7252d
--- /dev/null
+++ b/tests/frontend/overlaps/three.bst
@@ -0,0 +1,7 @@
+kind: import
+config:
+ source: /
+ target: /
+sources:
+- kind: local
+ path: three
diff --git a/tests/frontend/overlaps/three/file1 b/tests/frontend/overlaps/three/file1
new file mode 100644
index 000000000..76018072e
--- /dev/null
+++ b/tests/frontend/overlaps/three/file1
@@ -0,0 +1 @@
+baz
diff --git a/tests/frontend/overlaps/three/file2 b/tests/frontend/overlaps/three/file2
new file mode 100644
index 000000000..5716ca598
--- /dev/null
+++ b/tests/frontend/overlaps/three/file2
@@ -0,0 +1 @@
+bar
diff --git a/tests/frontend/overlaps/three/file3 b/tests/frontend/overlaps/three/file3
new file mode 100644
index 000000000..257cc5642
--- /dev/null
+++ b/tests/frontend/overlaps/three/file3
@@ -0,0 +1 @@
+foo
diff --git a/tests/frontend/overlaps/two.bst b/tests/frontend/overlaps/two.bst
new file mode 100644
index 000000000..21366506c
--- /dev/null
+++ b/tests/frontend/overlaps/two.bst
@@ -0,0 +1,7 @@
+kind: import
+config:
+ source: /
+ target: /
+sources:
+- kind: local
+ path: two
diff --git a/tests/frontend/overlaps/two/file2 b/tests/frontend/overlaps/two/file2
new file mode 100644
index 000000000..257cc5642
--- /dev/null
+++ b/tests/frontend/overlaps/two/file2
@@ -0,0 +1 @@
+foo
diff --git a/tests/frontend/overlaps/two/file3 b/tests/frontend/overlaps/two/file3
new file mode 100644
index 000000000..5716ca598
--- /dev/null
+++ b/tests/frontend/overlaps/two/file3
@@ -0,0 +1 @@
+bar