summaryrefslogtreecommitdiff
path: root/tests/frontend/track-optional-project-refs/project.conf
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-03-19 17:31:17 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-03-20 18:29:14 +0900
commit2bcae91f1e26d8396023425dce34b55a7e4095e5 (patch)
treeb4ccd5cd6ecfbc7e8496de36672e4df6639d63ce /tests/frontend/track-optional-project-refs/project.conf
parent150c7441279513249c10d10f12f06a0a5d8ab768 (diff)
downloadbuildstream-2bcae91f1e26d8396023425dce34b55a7e4095e5.tar.gz
tests/frontend/track.py: Test tracking with optionality
Tests that `bst track` sets the ref in the expected node if the node containing the ref is conditionalized with a project option. This tests both the regular inline behavior, and also the project.refs behavior.
Diffstat (limited to 'tests/frontend/track-optional-project-refs/project.conf')
-rw-r--r--tests/frontend/track-optional-project-refs/project.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/frontend/track-optional-project-refs/project.conf b/tests/frontend/track-optional-project-refs/project.conf
new file mode 100644
index 000000000..37fe02caa
--- /dev/null
+++ b/tests/frontend/track-optional-project-refs/project.conf
@@ -0,0 +1,9 @@
+name: test
+
+ref-storage: project.refs
+
+options:
+ test:
+ type: bool
+ description: Test boolean
+ default: False