diff options
author | Tristan van Berkom <tristan.vanberkom@codethink.co.uk> | 2020-06-19 15:20:41 +0900 |
---|---|---|
committer | Tristan van Berkom <tristan.vanberkom@codethink.co.uk> | 2020-06-24 15:08:03 +0900 |
commit | 0384aad17bcf46cfb393b50d85cc6a3cd9346e3b (patch) | |
tree | f31e8f766f50fe37bf96dc12898cdf39a9c56d9c /tests/format/junctions/internal-simple/subproject | |
parent | 05f6958f9eba15077fe02270e1e099fecfa2b7aa (diff) | |
download | buildstream-0384aad17bcf46cfb393b50d85cc6a3cd9346e3b.tar.gz |
tests/format/junctions.py: Adding tests for internal junctions
Diffstat (limited to 'tests/format/junctions/internal-simple/subproject')
6 files changed, 27 insertions, 0 deletions
diff --git a/tests/format/junctions/internal-simple/subproject/project.conf b/tests/format/junctions/internal-simple/subproject/project.conf new file mode 100644 index 000000000..1d44ec886 --- /dev/null +++ b/tests/format/junctions/internal-simple/subproject/project.conf @@ -0,0 +1,6 @@ +name: subtest +min-version: 2.0 + +junctions: + internal: + - subsubproject.bst diff --git a/tests/format/junctions/internal-simple/subproject/subsubproject.bst b/tests/format/junctions/internal-simple/subproject/subsubproject.bst new file mode 100644 index 000000000..f535ab0e0 --- /dev/null +++ b/tests/format/junctions/internal-simple/subproject/subsubproject.bst @@ -0,0 +1,4 @@ +kind: junction +sources: +- kind: local + path: subsubproject diff --git a/tests/format/junctions/internal-simple/subproject/subsubproject/project.conf b/tests/format/junctions/internal-simple/subproject/subsubproject/project.conf new file mode 100644 index 000000000..d11bcbb30 --- /dev/null +++ b/tests/format/junctions/internal-simple/subproject/subsubproject/project.conf @@ -0,0 +1,2 @@ +name: subsubtest +min-version: 2.0 diff --git a/tests/format/junctions/internal-simple/subproject/subsubproject/subsub.txt b/tests/format/junctions/internal-simple/subproject/subsubproject/subsub.txt new file mode 100644 index 000000000..f73f3093f --- /dev/null +++ b/tests/format/junctions/internal-simple/subproject/subsubproject/subsub.txt @@ -0,0 +1 @@ +file diff --git a/tests/format/junctions/internal-simple/subproject/subsubproject/target.bst b/tests/format/junctions/internal-simple/subproject/subsubproject/target.bst new file mode 100644 index 000000000..afafac601 --- /dev/null +++ b/tests/format/junctions/internal-simple/subproject/subsubproject/target.bst @@ -0,0 +1,4 @@ +kind: import +sources: +- kind: local + path: subsub.txt diff --git a/tests/format/junctions/internal-simple/subproject/subtarget.bst b/tests/format/junctions/internal-simple/subproject/subtarget.bst new file mode 100644 index 000000000..5e6a76bac --- /dev/null +++ b/tests/format/junctions/internal-simple/subproject/subtarget.bst @@ -0,0 +1,10 @@ +kind: compose + +# Use a build dependency on our internal subsubproject target. +# +# There is currently no validation for this but it may be +# introduced in the future. For correctness of this test, +# use a build dependency. +# +build-depends: +- subsubproject.bst:target.bst |