Oops, tests should return the error code is any.

[SVN r57943]
This commit is contained in:
John Maddock
2009-11-26 13:35:03 +00:00
parent b83327861c
commit fad95e3d1f
6 changed files with 6 additions and 6 deletions

View File

@ -220,5 +220,5 @@ int main(int, char*[])
std::cout << "OK\n"; std::cout << "OK\n";
return 0; return boost::report_errors();
} }

View File

@ -119,5 +119,5 @@ int main( int, char*[] )
PRIVATE_LOW_BITS_TEST( 2 ); PRIVATE_LOW_BITS_TEST( 2 );
PRIVATE_LOW_BITS_TEST( 1 ); PRIVATE_LOW_BITS_TEST( 1 );
return boost::exit_success; return boost::report_errors();
} }

View File

@ -247,5 +247,5 @@ int main(int, char*[])
test_min_max_type<boost::int_min_value_t<_LLONG_MIN>, long long>(_LLONG_MIN); test_min_max_type<boost::int_min_value_t<_LLONG_MIN>, long long>(_LLONG_MIN);
test_min_max_type<boost::uint_value_t<_ULLONG_MAX>, unsigned long long>(_ULLONG_MAX); test_min_max_type<boost::uint_value_t<_ULLONG_MAX>, unsigned long long>(_ULLONG_MAX);
#endif #endif
return 0; return boost::report_errors();
} }

View File

@ -96,6 +96,6 @@ int main(int, char*[])
#endif #endif
// Some compilers don't pay attention to std:3.6.1/5 and issue a // Some compilers don't pay attention to std:3.6.1/5 and issue a
// warning here if "return 0;" is omitted. // warning here if "return 0;" is omitted.
return 0; return boost::report_errors();
} }

View File

@ -145,5 +145,5 @@ main
PRIVATE_LB_TEST( 65536, 16 ); PRIVATE_LB_TEST( 65536, 16 );
PRIVATE_LB_TEST( 65537, 16 ); PRIVATE_LB_TEST( 65537, 16 );
return boost::exit_success; return boost::report_errors();
} }

View File

@ -88,5 +88,5 @@ main
BOOST_TEST( (static_signed_min< -101, -101>::value) == -101 ); BOOST_TEST( (static_signed_min< -101, -101>::value) == -101 );
BOOST_TEST( (static_signed_max< -101, -101>::value) == -101 ); BOOST_TEST( (static_signed_max< -101, -101>::value) == -101 );
return boost::exit_success; return boost::report_errors();
} }