2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 00:32:11 +00:00

Fix stage test

This commit is contained in:
Aaron Boman
2016-10-09 20:31:13 -05:00
parent 0490f58071
commit fd29f0fc99

View File

@@ -1102,8 +1102,8 @@ class Subvariant:
or as dependency properties. Targets referred with
dependency property are returned a properties, not targets."""
if __debug__:
from .targets import GenerateResult
assert isinstance(result, GenerateResult)
from .property import Property
assert is_iterable_typed(result, (VirtualTarget, Property))
# Find directly referenced targets.
deps = self.build_properties().dependency()
all_targets = self.sources_ + deps