From 76e392e8c21984df1891dad799cce3ba59d4188e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Sch=C3=B6pflin?= Date: Fri, 16 Dec 2005 15:39:24 +0000 Subject: [PATCH] Disable the ODR tests for Tru64/CXX-6.5. [SVN r32076] --- test/Jamfile | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) 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 ]