Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Fixed #114 (no exit code on failure)

Commit
62b7039a7bd4c24462199f7aa4ae45f73ee11506
Author
Phil Nash ·
Parents
74d1d3199763

Files · Download .tar.gz

Changes

 include/catch_runner.hpp | 2 +-
 single_include/catch.hpp | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/catch_runner.hpp b/include/catch_runner.hpp
index 5fec833c..020e3581 100644
--- a/include/catch_runner.hpp
+++ b/include/catch_runner.hpp
@@ -46,7 +46,7 @@ namespace Catch {
             std::vector<TestCaseFilters>::const_iterator itEnd = filterGroups.end();
             for(; it != itEnd; ++it ) {
                 m_reporter->StartGroup( it->getName() );
-                runTestsForGroup( context, *it );
+                totals += runTestsForGroup( context, *it );
                 if( context.aborting() )
                     m_reporter->Aborted();
                 m_reporter->EndGroup( it->getName(), totals );
diff --git a/single_include/catch.hpp b/single_include/catch.hpp
index 2b72dd6e..57fd0c10 100644
--- a/single_include/catch.hpp
+++ b/single_include/catch.hpp
@@ -1,5 +1,5 @@
 /*
- *  Generated: 2012-08-31 18:37:21.922461
+ *  Generated: 2012-08-31 18:45:38.119837
  *  ----------------------------------------------------------
  *  This file has been merged from multiple headers. Please don't edit it directly
  *  Copyright (c) 2012 Two Blue Cubes Ltd. All rights reserved.
@@ -3538,7 +3538,7 @@ namespace Catch {
             std::vector<TestCaseFilters>::const_iterator itEnd = filterGroups.end();
             for(; it != itEnd; ++it ) {
                 m_reporter->StartGroup( it->getName() );
-                runTestsForGroup( context, *it );
+                totals += runTestsForGroup( context, *it );
                 if( context.aborting() )
                     m_reporter->Aborted();
                 m_reporter->EndGroup( it->getName(), totals );