diff options
author | Tristan van Berkom <tristan.vanberkom@codethink.co.uk> | 2020-05-30 19:34:34 +0900 |
---|---|---|
committer | Tristan van Berkom <tristan.vanberkom@codethink.co.uk> | 2020-06-01 23:11:04 +0900 |
commit | 35f0545e0781294cab8e69c64f76c611a64640d9 (patch) | |
tree | 1768850f6fc5dfe55c612ff6b8e5cdd660fa2736 /tests/format/link/simple | |
parent | f774efaa72f3400ff8bd506a0fd7c536fd8f608f (diff) | |
download | buildstream-35f0545e0781294cab8e69c64f76c611a64640d9.tar.gz |
tests/format/link.py: Adding tests for the link element
Diffstat (limited to 'tests/format/link/simple')
-rw-r--r-- | tests/format/link/simple/elements/hello-link.bst | 4 | ||||
-rw-r--r-- | tests/format/link/simple/elements/hello.bst | 5 | ||||
-rw-r--r-- | tests/format/link/simple/elements/target.bst | 4 | ||||
-rw-r--r-- | tests/format/link/simple/files/hello.txt | 1 | ||||
-rw-r--r-- | tests/format/link/simple/project.conf | 4 |
5 files changed, 18 insertions, 0 deletions
diff --git a/tests/format/link/simple/elements/hello-link.bst b/tests/format/link/simple/elements/hello-link.bst new file mode 100644 index 000000000..83b0fbe46 --- /dev/null +++ b/tests/format/link/simple/elements/hello-link.bst @@ -0,0 +1,4 @@ +kind: link + +config: + target: hello.bst diff --git a/tests/format/link/simple/elements/hello.bst b/tests/format/link/simple/elements/hello.bst new file mode 100644 index 000000000..a04a856cd --- /dev/null +++ b/tests/format/link/simple/elements/hello.bst @@ -0,0 +1,5 @@ +kind: import + +sources: +- kind: local + path: files/hello.txt diff --git a/tests/format/link/simple/elements/target.bst b/tests/format/link/simple/elements/target.bst new file mode 100644 index 000000000..7c1be3a42 --- /dev/null +++ b/tests/format/link/simple/elements/target.bst @@ -0,0 +1,4 @@ +kind: stack + +depends: +- hello-link.bst diff --git a/tests/format/link/simple/files/hello.txt b/tests/format/link/simple/files/hello.txt new file mode 100644 index 000000000..ce0136250 --- /dev/null +++ b/tests/format/link/simple/files/hello.txt @@ -0,0 +1 @@ +hello diff --git a/tests/format/link/simple/project.conf b/tests/format/link/simple/project.conf new file mode 100644 index 000000000..4e2fb0063 --- /dev/null +++ b/tests/format/link/simple/project.conf @@ -0,0 +1,4 @@ +name: simple +min-version: 2.0 + +element-path: elements |