diff options
author | Tristan van Berkom <tristan@codethink.co.uk> | 2020-09-12 17:50:50 +0900 |
---|---|---|
committer | Tristan van Berkom <tristan@codethink.co.uk> | 2020-09-18 12:38:49 +0900 |
commit | 172c7404b00016cf7358af77b45b9d2a946af301 (patch) | |
tree | b254b9b904ca6520d8b8c5cd42368eafcdb17837 /tests/frontend/overlaps/relocated-unstaged.bst | |
parent | 0d724a09dea8eff25e5f085d041fab377592a9a9 (diff) | |
download | buildstream-172c7404b00016cf7358af77b45b9d2a946af301.tar.gz |
tests/frontend/overlaps.py: Test multiple calls to Element.stage_dependency_artifacts()
This patch adds a new test plugin which implements
Element.configure_dependencies() in order to offer better flexibility for
testing overlaps.
Newly added tests:
* Test overlap warnings and errors when staging elsewhere than
in the sandbox root.
* Test unstaged files failure modes when staging elsewhere than
in the sandbox root.
* Test various overlap behaviors of OverlapAction, when different
calls to Element.stage_dependency_artifacts() cause overlaps to
occur after staging files into separate directories.
Diffstat (limited to 'tests/frontend/overlaps/relocated-unstaged.bst')
-rw-r--r-- | tests/frontend/overlaps/relocated-unstaged.bst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/frontend/overlaps/relocated-unstaged.bst b/tests/frontend/overlaps/relocated-unstaged.bst new file mode 100644 index 000000000..65592a3dc --- /dev/null +++ b/tests/frontend/overlaps/relocated-unstaged.bst @@ -0,0 +1,9 @@ +kind: overlap + +build-depends: +- filename: directory-file.bst + config: + location: /opt + +config: + action: warning |