2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-13 12:22:17 +00:00

Renamed 'refine-properties' to 'refine'.

[SVN r13664]
This commit is contained in:
Vladimir Prus
2002-05-04 12:32:22 +00:00
parent fbecfa9d63
commit 00fb9f308d

View File

@@ -12,7 +12,7 @@ import utility : ungrist ;
# On success, returns properties. On error, returns a list which first
# element is "@error" and the other elements compose the explanation
# string.
rule refine-properties ( properties * : requirements * : feature-space ? )
rule refine ( properties * : requirements * : feature-space ? )
{
feature-space ?= feature ;
@@ -103,18 +103,18 @@ local rule __test__ ( )
}
assert.result <toolset>gcc <rtti>off <define>FOO
: refine-properties <toolset>gcc <rtti>off
: refine <toolset>gcc <rtti>off
: <define>FOO
: $(test-space)
;
assert.result <toolset>gcc <optimization>on
: refine-properties <toolset>gcc <optimization>off
: refine <toolset>gcc <optimization>off
: <optimization>on
: $(test-space)
;
r = [ refine-properties <toolset>gcc <rtti>off
r = [ refine <toolset>gcc <rtti>off
: <rtti>on
: $(test-space) ] ;
assert.equal $(r[1]) : "@error" ;