Disable the ODR tests for Tru64/CXX-6.5.

[SVN r32076]
This commit is contained in:
Markus Schöpflin
2005-12-16 15:39:24 +00:00
parent 136960eaf6
commit 76e392e8c2

View File

@ -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) : <build>no ] ;
}
}
return $(properties) ;
}
test-suite "typeof"
:
[ compile type.cpp : <define>BOOST_TYPEOF_NATIVE : type_native ]
@ -55,8 +71,8 @@ test-suite "typeof"
[ compile std.cpp : <define>BOOST_TYPEOF_NATIVE : std_native ]
[ compile std.cpp : <define>BOOST_TYPEOF_COMPLIANT : std_emulation ]
[ run odr1.cpp odr2.cpp : : : <define>BOOST_TYPEOF_NATIVE : odr_native ]
[ run odr1.cpp odr2.cpp : : : <define>BOOST_TYPEOF_COMPLIANT : odr_emulation ]
[ run odr1.cpp odr2.cpp : : : <define>BOOST_TYPEOF_NATIVE special-requirements : odr_native ]
[ run odr1.cpp odr2.cpp : : : <define>BOOST_TYPEOF_COMPLIANT special-requirements : odr_emulation ]
[ compile function_ptr_from_tpl.cpp : <define>BOOST_TYPEOF_NATIVE : function_ptr_from_tpl_native ]
[ compile function_ptr_from_tpl.cpp : <define>BOOST_TYPEOF_COMPLIANT : function_ptr_from_tpl_emulation ]