summaryrefslogtreecommitdiff
path: root/tests/integration/project
diff options
context:
space:
mode:
authorValentin David <valentin.david@codethink.co.uk>2019-11-20 15:35:53 +0100
committerbst-marge-bot <marge-bot@buildstream.build>2019-11-26 15:46:33 +0000
commit3c093d1f15e2400230d332cd3baf3d2d850f1279 (patch)
treec2a130182950e3dd035030e2b0ddf85ab7cdc3ca /tests/integration/project
parent23c0e689a319f876f62d7e581974cdeeb52c29b8 (diff)
downloadbuildstream-3c093d1f15e2400230d332cd3baf3d2d850f1279.tar.gz
compose: Allow compose elements to run integration commands
Diffstat (limited to 'tests/integration/project')
-rw-r--r--tests/integration/project/elements/compose/test-integration.bst10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/integration/project/elements/compose/test-integration.bst b/tests/integration/project/elements/compose/test-integration.bst
new file mode 100644
index 000000000..2f9faf170
--- /dev/null
+++ b/tests/integration/project/elements/compose/test-integration.bst
@@ -0,0 +1,10 @@
+kind: stack
+
+runtime-depends:
+- base.bst
+
+public:
+ bst:
+ integration-commands:
+ - "mkdir -p /tests"
+ - "echo 'This is a test' > /tests/test"