summaryrefslogtreecommitdiff
path: root/tests/integration/project/elements/script/marked-tmpdir.bst
diff options
context:
space:
mode:
authorTristan van Berkom <tristan@codethink.co.uk>2020-09-04 18:15:09 +0900
committerTristan van Berkom <tristan@codethink.co.uk>2020-09-07 18:46:23 +0900
commit43c223b6a2755d1afe3b4af48a55e8953086d95d (patch)
tree6dd75c9d1bb8bcaf0948a50c44752abc5dc4f188 /tests/integration/project/elements/script/marked-tmpdir.bst
parentbf4d6a4ae5856a73c065ae23bc1c6a649d6ce19a (diff)
downloadbuildstream-43c223b6a2755d1afe3b4af48a55e8953086d95d.tar.gz
ScriptElement: Porting to new APItristan/port-script-element
Instead of relying on Element.search(), use Element.configure_dependencies() to configure the layout. Summary of changes: * scriptelement.py: Change ScriptElement.layout_add() API to take an Element instead of an element name, this is now not optional (one cannot specify a `None` element). This is an API breaking change * plugins/elements/script.py: Implement Element.configure_dependencies() in order to call ScriptElement.layout_add(). This is a breaking YAML format change. * tests/integration: Script integration tests updated to use the new YAML format * tests/cachekey: Updated for `script` element changes
Diffstat (limited to 'tests/integration/project/elements/script/marked-tmpdir.bst')
-rw-r--r--tests/integration/project/elements/script/marked-tmpdir.bst5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/integration/project/elements/script/marked-tmpdir.bst b/tests/integration/project/elements/script/marked-tmpdir.bst
index 506cdd5f4..7abbd3261 100644
--- a/tests/integration/project/elements/script/marked-tmpdir.bst
+++ b/tests/integration/project/elements/script/marked-tmpdir.bst
@@ -1,8 +1,7 @@
kind: compose
-depends:
-- filename: base.bst
- type: build
+build-depends:
+- base.bst
public:
bst: