Commit 3d9491dd authored by Jürg Billeter's avatar Jürg Billeter Do not force `PipelineSelection.ALL` for build with tracking

With the dynamic plan using `_set_required()` we can avoid
pulling/fetching/building unneeded elements even if elements are being
parent 270da060
Pipeline #21858459 passed with stages
in 20 minutes and 42 seconds
......@@ -170,7 +170,7 @@ class Stream():
if build_all or track_targets:
if build_all:
selection = PipelineSelection.ALL
selection = PipelineSelection.PLAN
......@@ -273,6 +273,6 @@ def test_push_pull_track_non_strict(cli, tmpdir, datafiles):
# However, pulling has to be deferred until the dependencies have been
# tracked as the strict cache key needs to be calculated before querying
# the caches.
result =, args=['build', '--track-all', 'target.bst'])
result =, args=['build', '--track-all', '--all', 'target.bst'])
assert set(result.get_pulled_elements()) == all_elements
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment