summaryrefslogtreecommitdiff
path: root/tests/completions/sub-folders/project.conf
diff options
context:
space:
mode:
authorMartin Blanchard <martin.blanchard@codethink.co.uk>2018-07-31 12:23:48 +0100
committerMartin Blanchard <martin.blanchard@codethink.co.uk>2018-08-01 12:07:05 +0100
commit87edf67e46b0d8bc7a2d5479c129c6da1cb43a71 (patch)
treed7c40608828565de4bce487fd8855b778eb79ca8 /tests/completions/sub-folders/project.conf
parent480565c2ee6c7684c1d48cd518893ce12fc2f58d (diff)
downloadbuildstream-mablanch/448-autocompletion-broken-defaults.tar.gz
complete.py: Ensure paths get completed from 'element-path'mablanch/448-autocompletion-broken-defaults
Element paths should always be completed from the root element folder defined by the element-path key in project.conf. Fix complete_path() to always search into its given base_directory argument. See issue BuildStream/buildstream#448
Diffstat (limited to 'tests/completions/sub-folders/project.conf')
-rw-r--r--tests/completions/sub-folders/project.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/completions/sub-folders/project.conf b/tests/completions/sub-folders/project.conf
new file mode 100644
index 000000000..854e38693
--- /dev/null
+++ b/tests/completions/sub-folders/project.conf
@@ -0,0 +1,4 @@
+# Project config for frontend build test
+name: test
+
+element-path: elements