diff --git a/test/Jamfile b/test/Jamfile index 7dacf26..c9e62c8 100755 --- a/test/Jamfile +++ b/test/Jamfile @@ -5,6 +5,22 @@ subproject libs/typeof/test ; # bring in rules for testing import testing ; +local rule special-requirements ( toolset variant : properties * ) +{ + # Tru64/CXX6.5 hangs when compiling the ODR tests, so just turn them off. + + if $(UNIX) && $(OS) = OSF + { + switch $(toolset) + { + case tru64cxx65* : properties = + [ replace-properties $(properties) : no ] ; + } + } + + return $(properties) ; +} + test-suite "typeof" : [ compile type.cpp : BOOST_TYPEOF_NATIVE : type_native ] @@ -55,8 +71,8 @@ test-suite "typeof" [ compile std.cpp : BOOST_TYPEOF_NATIVE : std_native ] [ compile std.cpp : BOOST_TYPEOF_COMPLIANT : std_emulation ] - [ run odr1.cpp odr2.cpp : : : BOOST_TYPEOF_NATIVE : odr_native ] - [ run odr1.cpp odr2.cpp : : : BOOST_TYPEOF_COMPLIANT : odr_emulation ] + [ run odr1.cpp odr2.cpp : : : BOOST_TYPEOF_NATIVE special-requirements : odr_native ] + [ run odr1.cpp odr2.cpp : : : BOOST_TYPEOF_COMPLIANT special-requirements : odr_emulation ] [ compile function_ptr_from_tpl.cpp : BOOST_TYPEOF_NATIVE : function_ptr_from_tpl_native ] [ compile function_ptr_from_tpl.cpp : BOOST_TYPEOF_COMPLIANT : function_ptr_from_tpl_emulation ]