mirror of
https://github.com/boostorg/build.git
synced 2026-02-20 02:32:13 +00:00
Renamed Boost.Build's internal assert.nonempty-variable() rule to assert.variable-non-empty().
[SVN r46257]
This commit is contained in:
@@ -957,7 +957,7 @@ rule compress-subproperties ( properties * )
|
||||
if ! $(p:G)
|
||||
{
|
||||
# Expecting fully-gristed properties.
|
||||
assert.nonempty-variable p:G ;
|
||||
assert.variable-not-empty p:G ;
|
||||
}
|
||||
|
||||
if ! subfeature in $($(p:G).attributes)
|
||||
|
||||
@@ -279,7 +279,7 @@ local rule __test__ ( )
|
||||
rule invariant3 ( )
|
||||
{
|
||||
local v = 10 ;
|
||||
assert.nonempty-variable v ;
|
||||
assert.variable-not-empty v ;
|
||||
}
|
||||
}
|
||||
# class derived1 : myclass ;
|
||||
|
||||
@@ -231,7 +231,7 @@ rule exact-equal ( a * : b * )
|
||||
|
||||
# Assert that the given variable is not an empty list.
|
||||
#
|
||||
rule nonempty-variable ( name )
|
||||
rule variable-not-empty ( name )
|
||||
{
|
||||
local value = [ modules.peek [ CALLER_MODULE ] : $(name) ] ;
|
||||
if ! $(value)-is-not-empty
|
||||
|
||||
Reference in New Issue
Block a user