summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Salmon <pointswaves@gmail.com>2020-05-08 17:50:04 +0100
committerWilliam Salmon <pointswaves@gmail.com>2020-05-08 22:17:00 +0100
commite19ce72915c418af89ab19e6976ff43c3ab0b40d (patch)
tree709331e6e20122a45c9b338105ffc7bbf86666e5
parentca1ca124f95d22aa5315c192e879137b5169a59d (diff)
downloadbuildstream-willsalmon/expandsandbox.tar.gz
Test that sandbox variables are expandedwillsalmon/expandsandbox
-rw-r--r--tests/sandboxes/project/project.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/sandboxes/project/project.conf b/tests/sandboxes/project/project.conf
index d30996041..951279ac1 100644
--- a/tests/sandboxes/project/project.conf
+++ b/tests/sandboxes/project/project.conf
@@ -13,6 +13,7 @@ options:
arch:
type: arch
description: Current architecture
+ variable: target_arch
values:
- x86-64
- aarch64
@@ -22,3 +23,8 @@ split-rules:
/tests
- |
/tests/*
+
+## This is not *needed* for the tests to pass but having it in the tests, tests that build-arch can be expanded.
+sandbox:
+ build-arch: '%{target_arch}'
+