summaryrefslogtreecommitdiff
path: root/tests/integration/project
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/project')
-rw-r--r--tests/integration/project/elements/workspace/workspace-mount.bst14
-rw-r--r--tests/integration/project/files/workspace-mount-src/hello.cpp7
2 files changed, 21 insertions, 0 deletions
diff --git a/tests/integration/project/elements/workspace/workspace-mount.bst b/tests/integration/project/elements/workspace/workspace-mount.bst
new file mode 100644
index 000000000..20b434964
--- /dev/null
+++ b/tests/integration/project/elements/workspace/workspace-mount.bst
@@ -0,0 +1,14 @@
+kind: manual
+description: Workspace mount test
+
+depends:
+ - filename: base.bst
+ type: build
+
+sources:
+ - kind: local
+ path: files/workspace-mount-src/
+
+config:
+ build-commands:
+ - g++ -c hello.cpp
diff --git a/tests/integration/project/files/workspace-mount-src/hello.cpp b/tests/integration/project/files/workspace-mount-src/hello.cpp
new file mode 100644
index 000000000..5d364c3cb
--- /dev/null
+++ b/tests/integration/project/files/workspace-mount-src/hello.cpp
@@ -0,0 +1,7 @@
+#include <iostream>
+
+int main() {
+ std::cout << "Hello world!\n";
+
+ return 0;
+}