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-11 13:44:52 +0000
commit4d3f0cace0a56dbe9aff0f2c73cffcca93883337 (patch)
treed5e78c0118a8682a31112af2e29dc44299ba5ddd
parentc76c918a7febda4ef4253f8a9a957276d8ebb614 (diff)
downloadbuildstream-4d3f0cace0a56dbe9aff0f2c73cffcca93883337.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.
#