Adjustments to test expected failures, after type_traits updates.

[SVN r12241]
This commit is contained in:
John Maddock
2002-01-07 12:58:57 +00:00
parent bcd934c959
commit e650f59e68
3 changed files with 10 additions and 4 deletions

View File

@ -148,7 +148,7 @@ unsigned int expected_failures = 1;
unsigned int expected_failures = 1; // can't handle cv-qualified references
#elif defined(BOOST_MSVC)
unsigned int expected_failures = 1;
#elif defined(__MWERKS__)
#elif defined(__MWERKS__) || defined(__HP_aCC)
unsigned int expected_failures = 1; // is_enum doesn't work
#else
unsigned int expected_failures = 0;

View File

@ -243,7 +243,7 @@ int cpp_main(int argc, char* argv[])
soft_value_test(false, boost::is_empty<int*>::value)
soft_value_test(false, boost::is_empty<int&>::value)
soft_value_test(false, boost::is_empty<void>::value)
#if defined(__MWERKS__)
#if defined(__MWERKS__) || defined(__HP_aCC)
// apparent compiler bug causes this to fail to compile:
value_fail(false, boost::is_empty<int[2]>::value)
#else
@ -258,7 +258,7 @@ int cpp_main(int argc, char* argv[])
// because we can't tell the difference between
// unions and classes:
value_fail(true, boost::is_empty<empty_union_UDT>::value)
#if defined(__MWERKS__)
#if defined(__MWERKS__) || defined(__HP_aCC)
// apparent compiler bug causes this to fail to compile:
value_fail(false, boost::is_empty<enum_UDT>::value)
#else
@ -281,13 +281,17 @@ unsigned int expected_failures = 9;
#if (__SUNPRO_CC <= 0x520)
unsigned int expected_failures = 55;
#else // (__SUNPRO_CC <= 0x530)
unsigned int expected_failures = 20;
unsigned int expected_failures = 25;
#endif
#elif defined(__MWERKS__)
unsigned int expected_failures = 10;
#elif defined(BOOST_MSVC)
// can't handle classes that are POD's or arrays that are POD's
unsigned int expected_failures = 24;
#elif defined(__HP_aCC)
unsigned int expected_failures = 2;
#elif defined(__EDG_VERSION__)
unsigned int expected_failures = 3;
#else
unsigned int expected_failures = 0;
#endif

View File

@ -473,6 +473,8 @@ unsigned int expected_failures = 474; // cv-qualifiers
unsigned int expected_failures = 84; // partial specialisation (fails for UDT's)
#elif defined(__GNUC__) || defined(__SUNPRO_CC)
unsigned int expected_failures = 1; // cv-qualified references
#elif defined(__HP_aCC)
unsigned int expected_failures = 272; // remove_const/remove_volatile/remove_cv don't work
#else
unsigned int expected_failures = 0;
#endif