mirror of
https://github.com/boostorg/typeof.git
synced 2025-07-29 20:37:28 +02:00
Add Jamfile.v2
[SVN r32480]
This commit is contained in:
43
test/Jamfile.v2
Normal file
43
test/Jamfile.v2
Normal file
@ -0,0 +1,43 @@
|
||||
# Boost Typeof Library test Jamfile
|
||||
|
||||
|
||||
# The special requirement is not ported yet.
|
||||
#
|
||||
#local rule special-requirements ( toolset variant : properties * )
|
||||
#{
|
||||
# # Tru64/CXX6.5 hangs on most tests, so just turn it off completely.
|
||||
#
|
||||
# if $(UNIX) && $(OS) = OSF
|
||||
# {
|
||||
# switch $(toolset)
|
||||
# {
|
||||
# case tru64cxx65* : properties =
|
||||
# [ replace-properties $(properties) : <build>no ] ;
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# return $(properties) ;
|
||||
#}
|
||||
|
||||
rule typeof-test ( source )
|
||||
{
|
||||
return [ compile $(source) : <define>BOOST_TYPEOF_NATIVE :
|
||||
$(source:B)_native ]
|
||||
[ compile $(source) : <define>BOOST_TYPEOF_COMPLIANT :
|
||||
$(source:B)_emulation ]
|
||||
;
|
||||
}
|
||||
|
||||
rule all-tests ( )
|
||||
{
|
||||
local all ;
|
||||
for local t in [ glob *.cpp ]
|
||||
{
|
||||
all += [ typeof-test $(t) ] ;
|
||||
}
|
||||
return $(all) ;
|
||||
}
|
||||
|
||||
test-suite "typeof"
|
||||
: [ all-tests ]
|
||||
;
|
Reference in New Issue
Block a user