Add report_errors_remind to some passing tests.

This commit is contained in:
Peter Dimov
2014-06-10 04:40:57 +03:00
parent c5dd995ead
commit f659e1164a
2 changed files with 4 additions and 1 deletions

View File

@@ -90,6 +90,7 @@ template<class T, class U> inline void test_eq_impl( char const * expr1, char co
{
if( t == u )
{
report_errors_remind();
}
else
{
@@ -106,6 +107,7 @@ template<class T, class U> inline void test_ne_impl( char const * expr1, char co
{
if( t != u )
{
report_errors_remind();
}
else
{

View File

@@ -31,6 +31,7 @@ template< class T > inline void test_trait_impl( char const * trait, void (*)( T
{
if( T::value == expected )
{
report_errors_remind();
}
else
{
@@ -41,7 +42,7 @@ template< class T > inline void test_trait_impl( char const * trait, void (*)( T
<< "' (should have been " << ( expected? "true": "false" ) << ")"
<< std::endl;
++boost::detail::test_errors();
++test_errors();
}
}