2005-08-31 02:20:51 +00:00
|
|
|
# Boost Typeof Library test Jamfile
|
|
|
|
|
|
|
|
|
|
subproject libs/typeof/test ;
|
|
|
|
|
|
|
|
|
|
# bring in rules for testing
|
|
|
|
|
import testing ;
|
|
|
|
|
|
2005-12-16 15:39:24 +00:00
|
|
|
local rule special-requirements ( toolset variant : properties * )
|
|
|
|
|
{
|
2005-12-20 11:53:37 +00:00
|
|
|
# Tru64/CXX6.5 hangs on most tests, so just turn it off completely.
|
2005-12-16 15:39:24 +00:00
|
|
|
|
|
|
|
|
if $(UNIX) && $(OS) = OSF
|
|
|
|
|
{
|
|
|
|
|
switch $(toolset)
|
|
|
|
|
{
|
|
|
|
|
case tru64cxx65* : properties =
|
|
|
|
|
[ replace-properties $(properties) : <build>no ] ;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return $(properties) ;
|
|
|
|
|
}
|
|
|
|
|
|
2005-08-31 02:20:51 +00:00
|
|
|
test-suite "typeof"
|
2006-08-29 21:14:51 +00:00
|
|
|
:
|
|
|
|
|
[ compile type.cpp : <define>BOOST_TYPEOF_NATIVE special-requirements : type_native ]
|
|
|
|
|
[ compile type.cpp : <define>BOOST_TYPEOF_EMULATION special-requirements : type_emulation ]
|
2005-09-09 00:15:59 +00:00
|
|
|
|
2006-08-29 21:14:51 +00:00
|
|
|
[ compile template_type.cpp : <define>BOOST_TYPEOF_NATIVE special-requirements : template_type_native ]
|
|
|
|
|
[ compile template_type.cpp : <define>BOOST_TYPEOF_EMULATION special-requirements : template_type_emulation ]
|
2005-09-09 00:15:59 +00:00
|
|
|
|
2006-08-29 21:14:51 +00:00
|
|
|
[ compile template_int.cpp : <define>BOOST_TYPEOF_NATIVE special-requirements : template_int_native ]
|
|
|
|
|
[ compile template_int.cpp : <define>BOOST_TYPEOF_EMULATION special-requirements : template_int_emulation ]
|
2005-09-09 00:15:59 +00:00
|
|
|
|
2006-08-29 21:14:51 +00:00
|
|
|
[ compile template_tpl.cpp : <define>BOOST_TYPEOF_NATIVE special-requirements : template_tpl_native ]
|
|
|
|
|
[ compile template_tpl.cpp : <define>BOOST_TYPEOF_EMULATION special-requirements : template_tpl_emulation ]
|
2005-09-11 14:59:52 +00:00
|
|
|
|
2006-08-29 21:14:51 +00:00
|
|
|
[ compile template_enum.cpp : <define>BOOST_TYPEOF_NATIVE special-requirements : template_enum_native ]
|
|
|
|
|
[ compile template_enum.cpp : <define>BOOST_TYPEOF_EMULATION special-requirements : template_enum_emulation ]
|
2005-09-20 01:32:56 +00:00
|
|
|
|
2006-08-29 21:14:51 +00:00
|
|
|
[ compile template_dependent.cpp : <define>BOOST_TYPEOF_NATIVE special-requirements : template_dependent_native ]
|
|
|
|
|
[ compile template_dependent.cpp : <define>BOOST_TYPEOF_EMULATION special-requirements : template_dependent_emulation ]
|
2005-09-20 01:32:56 +00:00
|
|
|
|
2006-08-29 21:14:51 +00:00
|
|
|
[ compile template_multiword.cpp : <define>BOOST_TYPEOF_NATIVE special-requirements : template_multiword_native ]
|
|
|
|
|
[ compile template_multiword.cpp : <define>BOOST_TYPEOF_EMULATION special-requirements : template_multiword_emulation ]
|
2005-09-20 01:32:56 +00:00
|
|
|
|
2006-08-29 21:14:51 +00:00
|
|
|
[ compile modifiers.cpp : <define>BOOST_TYPEOF_NATIVE special-requirements : modifiers_native ]
|
|
|
|
|
[ compile modifiers.cpp : <define>BOOST_TYPEOF_EMULATION special-requirements : modifiers_emulation ]
|
2005-09-11 14:59:52 +00:00
|
|
|
|
2006-08-29 21:14:51 +00:00
|
|
|
[ compile function.cpp : <define>BOOST_TYPEOF_NATIVE special-requirements : function_native ]
|
|
|
|
|
[ compile function.cpp : <define>BOOST_TYPEOF_EMULATION special-requirements : function_emulation ]
|
2005-09-11 14:59:52 +00:00
|
|
|
|
2006-08-29 21:14:51 +00:00
|
|
|
[ compile function_binding.cpp : <define>BOOST_TYPEOF_NATIVE special-requirements : function_binding_native ]
|
|
|
|
|
[ compile function_binding.cpp : <define>BOOST_TYPEOF_EMULATION special-requirements : function_binding_emulation ]
|
2006-06-11 12:05:52 +00:00
|
|
|
|
2006-08-29 21:14:51 +00:00
|
|
|
[ compile function_ptr.cpp : <define>BOOST_TYPEOF_NATIVE special-requirements : function_ptr_native ]
|
|
|
|
|
[ compile function_ptr.cpp : <define>BOOST_TYPEOF_EMULATION special-requirements : function_ptr_emulation ]
|
2005-09-11 14:59:52 +00:00
|
|
|
|
2006-08-29 21:14:51 +00:00
|
|
|
[ compile function_ref.cpp : <define>BOOST_TYPEOF_NATIVE special-requirements : function_ref_native ]
|
|
|
|
|
[ compile function_ref.cpp : <define>BOOST_TYPEOF_EMULATION special-requirements : function_ref_emulation ]
|
2005-09-11 14:59:52 +00:00
|
|
|
|
2006-08-29 21:14:51 +00:00
|
|
|
[ compile member_function.cpp : <define>BOOST_TYPEOF_NATIVE special-requirements : member_function_native ]
|
|
|
|
|
[ compile member_function.cpp : <define>BOOST_TYPEOF_EMULATION special-requirements : member_function_emulation ]
|
2005-09-11 14:59:52 +00:00
|
|
|
|
2006-08-29 21:14:51 +00:00
|
|
|
[ compile data_member.cpp : <define>BOOST_TYPEOF_NATIVE special-requirements : data_member_native ]
|
|
|
|
|
[ compile data_member.cpp : <define>BOOST_TYPEOF_EMULATION special-requirements : data_member_emulation ]
|
2005-09-11 14:59:52 +00:00
|
|
|
|
2006-08-29 21:14:51 +00:00
|
|
|
[ compile noncopyable.cpp : <define>BOOST_TYPEOF_NATIVE special-requirements : noncopyable_native ]
|
|
|
|
|
[ compile noncopyable.cpp : <define>BOOST_TYPEOF_EMULATION special-requirements : noncopyable_emulation ]
|
2005-09-20 01:32:56 +00:00
|
|
|
|
2006-08-29 21:14:51 +00:00
|
|
|
[ compile std.cpp : <define>BOOST_TYPEOF_NATIVE special-requirements : std_native ]
|
|
|
|
|
[ compile std.cpp : <define>BOOST_TYPEOF_EMULATION special-requirements : std_emulation ]
|
2005-09-20 01:32:56 +00:00
|
|
|
|
2006-08-29 21:14:51 +00:00
|
|
|
[ run odr1.cpp odr2.cpp : : : <define>BOOST_TYPEOF_NATIVE special-requirements : odr_native ]
|
|
|
|
|
[ run odr1.cpp odr2.cpp : : : <define>BOOST_TYPEOF_EMULATION special-requirements : odr_emulation ]
|
2005-12-10 15:45:33 +00:00
|
|
|
|
2006-08-29 21:14:51 +00:00
|
|
|
[ compile function_ptr_from_tpl.cpp : <define>BOOST_TYPEOF_NATIVE special-requirements : function_ptr_from_tpl_native ]
|
|
|
|
|
[ compile function_ptr_from_tpl.cpp : <define>BOOST_TYPEOF_EMULATION special-requirements : function_ptr_from_tpl_emulation ]
|
2006-03-16 17:10:19 +00:00
|
|
|
|
2006-08-29 21:14:51 +00:00
|
|
|
[ compile nested_typedef.cpp : <define>BOOST_TYPEOF_NATIVE special-requirements : nested_typedef_native ]
|
|
|
|
|
[ compile nested_typedef.cpp : <define>BOOST_TYPEOF_EMULATION special-requirements : nested_typedef_emulation ]
|
2006-06-18 15:43:26 +00:00
|
|
|
|
2006-08-29 21:14:51 +00:00
|
|
|
[ run odr_no_uns1.cpp odr_no_uns2.cpp : : : <define>BOOST_TYPEOF_EMULATION special-requirements : odr_no_uns ]
|
2006-06-18 15:43:26 +00:00
|
|
|
|
2006-08-29 21:14:51 +00:00
|
|
|
;
|