summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarius Makovsky <traveltissues@protonmail.com>2019-11-07 08:57:30 +0000
committerDarius Makovsky <traveltissues@protonmail.com>2019-11-07 11:56:13 +0000
commit8245b1ed1f0fe3975f61e477540ca6b338687ba1 (patch)
tree2901a99247cbacf26407788301c1d0036d9178b2
parent7364a5b966a17d669d7a765e0e5ad3408fc9e8de (diff)
downloadbuildstream-8245b1ed1f0fe3975f61e477540ca6b338687ba1.tar.gz
_stream: Remove exception case for removed option
-rw-r--r--src/buildstream/_stream.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/buildstream/_stream.py b/src/buildstream/_stream.py
index 91f37cbf3..f09a46185 100644
--- a/src/buildstream/_stream.py
+++ b/src/buildstream/_stream.py
@@ -1213,16 +1213,6 @@ class Stream():
# Hold on to the targets
self.targets = elements + artifacts
- # Here we should raise an error if the track_elements targets
- # are not dependencies of the primary targets, this is not
- # supported.
- #
- # This can happen with `bst build --track`
- #
- if targets and not self._pipeline.targets_include(elements, track_elements):
- raise StreamError("Specified tracking targets that are not "
- "within the scope of primary targets")
-
# First take care of marking tracking elements, this must be
# done before resolving element states.
#