summaryrefslogtreecommitdiff
path: root/tests/frontend/overlaps/whitelist-undefined.bst
diff options
context:
space:
mode:
authorTristan van Berkom <tristan.vanberkom@codethink.co.uk>2020-06-29 19:59:53 +0900
committerTristan van Berkom <tristan.vanberkom@codethink.co.uk>2020-07-22 18:37:33 +0900
commitbba83174a36d90ec01ea714c4a63c5144c0b8e1e (patch)
treed9feb17b74229a7196dd3b99656c57e7c6c7cbc8 /tests/frontend/overlaps/whitelist-undefined.bst
parentfcaa41660f99d8de5cbff8805d4c6ba3e3a90ff2 (diff)
downloadbuildstream-bba83174a36d90ec01ea714c4a63c5144c0b8e1e.tar.gz
tests/frontend/overlaps.py: Test undefined variables
Ensure that we get the expected provenance when expanding a variable included in an overlap whitelist entry.
Diffstat (limited to 'tests/frontend/overlaps/whitelist-undefined.bst')
-rw-r--r--tests/frontend/overlaps/whitelist-undefined.bst13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/frontend/overlaps/whitelist-undefined.bst b/tests/frontend/overlaps/whitelist-undefined.bst
new file mode 100644
index 000000000..5cb0c645e
--- /dev/null
+++ b/tests/frontend/overlaps/whitelist-undefined.bst
@@ -0,0 +1,13 @@
+kind: import
+config:
+ source: /
+ target: /
+depends:
+- b-whitelisted.bst
+sources:
+- kind: local
+ path: "a"
+public:
+ bst:
+ overlap-whitelist:
+ - "%{undefined-variable}/*"