From f4548505e2c7e1cf99dada26b12e10cd980efa26 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Tue, 15 Mar 2011 18:42:22 +0000 Subject: [PATCH] Always output final summary - even if no errors --- catch_reporter_basic.hpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/catch_reporter_basic.hpp b/catch_reporter_basic.hpp index d5bd64af..add09b60 100644 --- a/catch_reporter_basic.hpp +++ b/catch_reporter_basic.hpp @@ -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; } ///////////////////////////////////////////////////////////////////////////