2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-17 01:32:12 +00:00
Files
build/historic/jam/test/target_var.jam
Rene Rivera e7f8022433 Cleanup.
[SVN r35279]
2006-09-22 16:07:59 +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 ;