|
Boost Testing : |
From: Stephen W. Carson (StephenC_at_[hidden])
Date: 2005-05-12 09:56:40
I've upgraded to CW 9.5 on darwin (Mac OS X) and the results can now
be seen. Here is a list of test differences I note comparing a run from
Tue. with 9.4 to last night's run with 9.5.
Looking over the libraries that went to failure, (see below), I
found the following items came up the most, (looks like a compiler
feature went away with 9.5?!?):
All these "unimplemented C++ feature" errors are from a few places
in random. For example, the following code in linear_congruential.hpp:
#if !defined(BOOST_NO_MEMBER_TEMPLATE_FRIENDS) &&
!BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x551))
template<class CharT, class Traits>
friend std::basic_ostream<CharT,Traits>&
operator<<(std::basic_ostream<CharT,Traits>& os,
const linear_congruential& lcg)
{
return os << lcg._x;
}
And the following code from uniform_01.hpp:
#if !defined(BOOST_NO_OPERATORS_IN_NAMESPACE) &&
!defined(BOOST_NO_MEMBER_TEMPLATE_FRIENDS)
template<class CharT, class Traits>
friend std::basic_ostream<CharT,Traits>&
operator<<(std::basic_ostream<CharT,Traits>& os, const uniform_01& u)
{
os << u._rng;
return os;
}
The following libraries went from GREEN to YELLOW:
************ config ************
Failed test for BOOST_NO_IS_ABSTRACT at: config_test.cpp:678
http://tinyurl.com/cj4pc
************ crc ************
Error : unimplemented C++ feature
../boost/random/linear_congruential.hpp line 118? {
Error : declaration syntax error
../boost/random/linear_congruential.hpp line 119? return os << lcg._x;
Error : ';' expected
../boost/random/linear_congruential.hpp line 120? }
Error : illegal 'friend' declaration
../boost/random/linear_congruential.hpp line 123? friend std::basic_istream<CharT,Traits>&
Error : template argument list expected
../boost/random/linear_congruential.hpp line 125? linear_congruential& lcg)
************ graph ************
about half the tests cases failing due to:
Error : unimplemented C++ feature
************ random ************
Error : unimplemented C++ feature
************ type_traits ************
Error : illegal use of abstract class ('test_abc1::foo()')
http://tinyurl.com/8dx4f
************ utility ************
Error : unimplemented C++ feature
-- Stephen W. Carson, Software Engineer DirXion Software in St. Louis, MO (636) 717-2367 The Boost Wiki: http://www.boost.org/wiki