Fixed #114 (no exit code on failure)

This commit is contained in:
Phil Nash 2012-08-31 18:46:13 +01:00
parent 74d1d31997
commit 62b7039a7b
2 changed files with 3 additions and 3 deletions

View File

@ -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 );

View File

@ -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 );