mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 07:16:10 +01:00
Fixed #114 (no exit code on failure)
This commit is contained in:
parent
74d1d31997
commit
62b7039a7b
@ -46,7 +46,7 @@ namespace Catch {
|
|||||||
std::vector<TestCaseFilters>::const_iterator itEnd = filterGroups.end();
|
std::vector<TestCaseFilters>::const_iterator itEnd = filterGroups.end();
|
||||||
for(; it != itEnd; ++it ) {
|
for(; it != itEnd; ++it ) {
|
||||||
m_reporter->StartGroup( it->getName() );
|
m_reporter->StartGroup( it->getName() );
|
||||||
runTestsForGroup( context, *it );
|
totals += runTestsForGroup( context, *it );
|
||||||
if( context.aborting() )
|
if( context.aborting() )
|
||||||
m_reporter->Aborted();
|
m_reporter->Aborted();
|
||||||
m_reporter->EndGroup( it->getName(), totals );
|
m_reporter->EndGroup( it->getName(), totals );
|
||||||
|
@ -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
|
* This file has been merged from multiple headers. Please don't edit it directly
|
||||||
* Copyright (c) 2012 Two Blue Cubes Ltd. All rights reserved.
|
* Copyright (c) 2012 Two Blue Cubes Ltd. All rights reserved.
|
||||||
@ -3538,7 +3538,7 @@ namespace Catch {
|
|||||||
std::vector<TestCaseFilters>::const_iterator itEnd = filterGroups.end();
|
std::vector<TestCaseFilters>::const_iterator itEnd = filterGroups.end();
|
||||||
for(; it != itEnd; ++it ) {
|
for(; it != itEnd; ++it ) {
|
||||||
m_reporter->StartGroup( it->getName() );
|
m_reporter->StartGroup( it->getName() );
|
||||||
runTestsForGroup( context, *it );
|
totals += runTestsForGroup( context, *it );
|
||||||
if( context.aborting() )
|
if( context.aborting() )
|
||||||
m_reporter->Aborted();
|
m_reporter->Aborted();
|
||||||
m_reporter->EndGroup( it->getName(), totals );
|
m_reporter->EndGroup( it->getName(), totals );
|
||||||
|
Loading…
Reference in New Issue
Block a user