diff options
author | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2017-11-29 14:14:07 +0000 |
---|---|---|
committer | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2017-12-01 18:24:37 +0000 |
commit | 74f1c9340ea47a1cbe52d0fce4ccfd598165571f (patch) | |
tree | 388efd5797f068d8f83a0195423d9fb4b501742d /tests/frontend/overlaps | |
parent | cf82ea997e87a80027ef87cb742c3406e4ec60d6 (diff) | |
download | buildstream-74f1c9340ea47a1cbe52d0fce4ccfd598165571f.tar.gz |
Add a test for overlaps114-give-better-warnings-on-overlaps
Diffstat (limited to 'tests/frontend/overlaps')
-rw-r--r-- | tests/frontend/overlaps/collect.bst | 9 | ||||
-rw-r--r-- | tests/frontend/overlaps/one.bst | 7 | ||||
-rw-r--r-- | tests/frontend/overlaps/one/file1 | 1 | ||||
-rw-r--r-- | tests/frontend/overlaps/one/file2 | 1 | ||||
-rw-r--r-- | tests/frontend/overlaps/project.conf | 3 | ||||
-rw-r--r-- | tests/frontend/overlaps/three.bst | 7 | ||||
-rw-r--r-- | tests/frontend/overlaps/three/file1 | 1 | ||||
-rw-r--r-- | tests/frontend/overlaps/three/file2 | 1 | ||||
-rw-r--r-- | tests/frontend/overlaps/three/file3 | 1 | ||||
-rw-r--r-- | tests/frontend/overlaps/two.bst | 7 | ||||
-rw-r--r-- | tests/frontend/overlaps/two/file2 | 1 | ||||
-rw-r--r-- | tests/frontend/overlaps/two/file3 | 1 |
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 |