2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-18 01:52:17 +00:00
Files
build/historic/jam/test/var_expand.jam

18 lines
493 B
Plaintext

#~ Copyright 2006 Rene Rivera.
#~ Distributed under the Boost Software License, Version 1.0.
#~ (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
ECHO --- Testing var expansion... ;
local p0 = name ;
local p1 = dir/name ;
local p2 = dir/sub/name ;
assert name : (==) : $(p0:D=) ;
assert name : (==) : $(p1:D=) ;
assert name : (==) : $(p2:D=) ;
assert : (==) : $(p0:D) ;
assert dir : (==) : $(p1:D) ;
assert dir/sub : (==) : $(p2:D) ;
assert : (==) : $(p0:S) ;