summaryrefslogtreecommitdiff
path: root/tests/frontend/completions.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/frontend/completions.py')
-rw-r--r--tests/frontend/completions.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/frontend/completions.py b/tests/frontend/completions.py
index cb151c284..c374df2a0 100644
--- a/tests/frontend/completions.py
+++ b/tests/frontend/completions.py
@@ -23,6 +23,7 @@ MAIN_OPTIONS = [
"--builders ",
"-c ",
"-C ",
+ "--cache-buildtrees ",
"--colors ",
"--config ",
"--debug ",
@@ -156,6 +157,7 @@ def test_options(cli, cmd, word_idx, expected):
@pytest.mark.parametrize("cmd,word_idx,expected", [
('bst --on-error ', 2, ['continue ', 'quit ', 'terminate ']),
+ ('bst --cache-buildtrees ', 2, ['always ', 'failure ', 'never ']),
('bst show --deps ', 3, ['all ', 'build ', 'none ', 'plan ', 'run ']),
('bst show --deps=', 2, ['all ', 'build ', 'none ', 'plan ', 'run ']),
('bst show --deps b', 3, ['build ']),