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

Test the feature.valid to show that it fails. (#391)

This commit is contained in:
tee3
2019-02-23 10:24:49 -05:00
committed by Rene Rivera
parent c8c1064cac
commit e77bf6b336

View File

@@ -1330,6 +1330,13 @@ rule __test__ ( )
: add-defaults <runtime-link>static <define>foobar <optimization>on
<fu>fu1 ;
feature f0 : f0-0 f0-1 ;
feature f1 : f1-0 f1-1 ;
assert.true valid <f0> ;
assert.true valid <f1> ;
assert.true valid <f0> <f1> ;
set-default <runtime-link> : static ;
assert.result <runtime-link>static : defaults <runtime-link> ;