You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by no...@apache.org on 2020/12/29 12:29:12 UTC

[buildstream] 02/02: Test that sandbox variables are expanded

This is an automated email from the ASF dual-hosted git repository.

not-in-ldap pushed a commit to branch willsalmon/expandsandbox
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit e19ce72915c418af89ab19e6976ff43c3ab0b40d
Author: William Salmon <po...@gmail.com>
AuthorDate: Fri May 8 17:50:04 2020 +0100

    Test that sandbox variables are expanded
---
 tests/sandboxes/project/project.conf | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/sandboxes/project/project.conf b/tests/sandboxes/project/project.conf
index d309960..951279a 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}'
+