summaryrefslogtreecommitdiff
path: root/tests/integration/project
diff options
context:
space:
mode:
authorWilliam Salmon <will.salmon@codethink.co.uk>2018-09-14 11:37:47 +0100
committerPhil Dawson <phildawson.0807@gmail.com>2018-10-16 12:39:14 +0000
commitbbcb9bd5cd5ba85e499d4a37058ca9e8663399d4 (patch)
tree5f703d39ddef81c677f2a32deb81893666a8c63b /tests/integration/project
parent6298e4093d48845b4d49bd95505b44961f7d37bd (diff)
downloadbuildstream-bbcb9bd5cd5ba85e499d4a37058ca9e8663399d4.tar.gz
New Integration test for workspace command-subdir
Build stream was only creating command-subdir for non workspace builds this has now been fixed, and this regression test should support the feature. For issue #512 in Gitlab.
Diffstat (limited to 'tests/integration/project')
-rw-r--r--tests/integration/project/elements/workspace/workspace-commanddir.bst17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/integration/project/elements/workspace/workspace-commanddir.bst b/tests/integration/project/elements/workspace/workspace-commanddir.bst
new file mode 100644
index 000000000..d963346d7
--- /dev/null
+++ b/tests/integration/project/elements/workspace/workspace-commanddir.bst
@@ -0,0 +1,17 @@
+kind: manual
+description: Workspace mount test
+
+depends:
+ - filename: base.bst
+ type: build
+
+sources:
+ - kind: local
+ path: files/workspace-mount-src/
+
+variables:
+ command-subdir: build
+
+config:
+ build-commands:
+ - cc -c ../hello.c