mirror of
https://github.com/boostorg/build.git
synced 2026-02-14 00:32:11 +00:00
17 lines
499 B
Plaintext
17 lines
499 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 on target semantics... ;
|
|
|
|
v on a = 1 ;
|
|
v on b = 1 2 ;
|
|
v on c = 1 2 3 ;
|
|
v on d ?= 1 2 3 4 ;
|
|
v on d ?= 5 6 7 8 ;
|
|
v on a ?= 2 ;
|
|
assert [ on a return $(v) ] : (==) : 1 ;
|
|
assert [ on b return $(v) ] : (==) : 1 2 ;
|
|
assert [ on c return $(v) ] : (==) : 1 2 3 ;
|
|
assert [ on d return $(v) ] : (==) : 1 2 3 4 ;
|