summaryrefslogtreecommitdiff
path: root/tests/remotecache/project/elements/build-shell/buildtree-fail.bst
diff options
context:
space:
mode:
Diffstat (limited to 'tests/remotecache/project/elements/build-shell/buildtree-fail.bst')
-rw-r--r--tests/remotecache/project/elements/build-shell/buildtree-fail.bst13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/remotecache/project/elements/build-shell/buildtree-fail.bst b/tests/remotecache/project/elements/build-shell/buildtree-fail.bst
new file mode 100644
index 000000000..a3b515a9a
--- /dev/null
+++ b/tests/remotecache/project/elements/build-shell/buildtree-fail.bst
@@ -0,0 +1,13 @@
+kind: manual
+description: |
+ Puts a file in the build tree so that build tree caching and staging can be tested,
+ then deliberately failing to build so we can check the output.
+
+depends:
+ - filename: base.bst
+ type: build
+
+config:
+ build-commands:
+ - "echo 'Hi' > %{build-root}/test"
+ - "false"