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
1 changed files with 4 additions and 6 deletions

View File

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