From 4e7b104f36aa62f138e681b441248094b41f4419 Mon Sep 17 00:00:00 2001 From: Konstantin Baumann Date: Tue, 23 Jul 2013 14:19:50 +0200 Subject: [PATCH] added timing output to the console logger --- include/reporters/catch_reporter_console.hpp | 1 + projects/VS2012/TestCatch/TestCatch/TestCatch.vcxproj | 1 + 2 files changed, 2 insertions(+) diff --git a/include/reporters/catch_reporter_console.hpp b/include/reporters/catch_reporter_console.hpp index cd5cd7be..fb88620a 100644 --- a/include/reporters/catch_reporter_console.hpp +++ b/include/reporters/catch_reporter_console.hpp @@ -90,6 +90,7 @@ namespace Catch { if( m_atLeastOneTestCasePrinted ) printTotalsDivider(); printTotals( _testRunStats.totals ); + stream << " [timing: " << _testRunStats.timeSecs << " secs.]"; stream << "\n" << std::endl; StreamingReporterBase::testRunEnded( _testRunStats ); } diff --git a/projects/VS2012/TestCatch/TestCatch/TestCatch.vcxproj b/projects/VS2012/TestCatch/TestCatch/TestCatch.vcxproj index 78e5fa45..86431286 100644 --- a/projects/VS2012/TestCatch/TestCatch/TestCatch.vcxproj +++ b/projects/VS2012/TestCatch/TestCatch/TestCatch.vcxproj @@ -139,6 +139,7 @@ +