Always output final summary - even if no errors

This commit is contained in:
Phil Nash 2011-03-15 18:42:22 +00:00
parent 3eb41eed6d
commit f4548505e2

View File

@ -92,13 +92,11 @@ namespace Catch
std::size_t failed std::size_t failed
) )
{ {
if( m_testingSpan.emitted ) // Output the overall test results even if "Started Testing" was not emitted
{
m_config.stream() << "[Testing completed. "; m_config.stream() << "[Testing completed. ";
ReportCounts( succeeded, failed ); ReportCounts( succeeded, failed );
m_config.stream() << "]" << std::endl; m_config.stream() << "]" << std::endl;
} }
}
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
virtual void StartGroup virtual void StartGroup