mirror of
https://github.com/boostorg/integer.git
synced 2025-07-29 04:07:14 +02:00
Oops, tests should return the error code is any.
[SVN r57943]
This commit is contained in:
@ -220,5 +220,5 @@ int main(int, char*[])
|
||||
|
||||
|
||||
std::cout << "OK\n";
|
||||
return 0;
|
||||
return boost::report_errors();
|
||||
}
|
||||
|
@ -119,5 +119,5 @@ int main( int, char*[] )
|
||||
PRIVATE_LOW_BITS_TEST( 2 );
|
||||
PRIVATE_LOW_BITS_TEST( 1 );
|
||||
|
||||
return boost::exit_success;
|
||||
return boost::report_errors();
|
||||
}
|
||||
|
@ -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::uint_value_t<_ULLONG_MAX>, unsigned long long>(_ULLONG_MAX);
|
||||
#endif
|
||||
return 0;
|
||||
return boost::report_errors();
|
||||
}
|
||||
|
@ -96,6 +96,6 @@ int main(int, char*[])
|
||||
#endif
|
||||
// Some compilers don't pay attention to std:3.6.1/5 and issue a
|
||||
// warning here if "return 0;" is omitted.
|
||||
return 0;
|
||||
return boost::report_errors();
|
||||
}
|
||||
|
||||
|
@ -145,5 +145,5 @@ main
|
||||
PRIVATE_LB_TEST( 65536, 16 );
|
||||
PRIVATE_LB_TEST( 65537, 16 );
|
||||
|
||||
return boost::exit_success;
|
||||
return boost::report_errors();
|
||||
}
|
||||
|
@ -88,5 +88,5 @@ main
|
||||
BOOST_TEST( (static_signed_min< -101, -101>::value) == -101 );
|
||||
BOOST_TEST( (static_signed_max< -101, -101>::value) == -101 );
|
||||
|
||||
return boost::exit_success;
|
||||
return boost::report_errors();
|
||||
}
|
||||
|
Reference in New Issue
Block a user