2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 00:32:11 +00:00
Files
build/test/engine/target_var.jam
Vladimir Prus e1f1c99d2f Move engine tests. Remove some releng bits that were useful only for
standardlone engine.


[SVN r68591]
2011-02-01 08:08:56 +00:00

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 ;